File: libinfo.cpp

package info (click to toggle)
libkdcraw 25.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 356 kB
  • sloc: cpp: 1,654; makefile: 18; sh: 1
file content (33 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
    A command line tool to show libkdcraw info

    SPDX-FileCopyrightText: 2013 Gilles Caulier <caulier dot gilles at gmail dot com>

    SPDX-License-Identifier: GPL-2.0-or-later
*/

// Qt includes

#include <QString>
#include <QDebug>

// Local includes

#include <KDCRAW/KDcraw>

using namespace KDcrawIface;

int main(int /*argc*/, char** /*argv*/)
{
    qDebug() << "Libkdcraw version : " << KDcraw::version(),
    qDebug() << "Libraw version    : " << KDcraw::librawVersion();
    qDebug() << "Use OpenMP        : " << KDcraw::librawUseGomp();
    qDebug() << "Use RawSpeed      : " << KDcraw::librawUseRawSpeed();
    qDebug() << "Use GPL2 Pack     : " << KDcraw::librawUseGPL2DemosaicPack();
    qDebug() << "Use GPL3 Pack     : " << KDcraw::librawUseGPL3DemosaicPack();
    qDebug() << "Raw files list    : " << KDcraw::rawFilesList();
    qDebug() << "Raw files version : " << KDcraw::rawFilesVersion();
    qDebug() << "Supported camera  : " << KDcraw::supportedCamera();

    return 0;
}