Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2009 Adrian Page <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef _KIS_JPEG_SOURCE_H_
#define _KIS_JPEG_SOURCE_H_
#include <stdio.h>
extern "C" {
#include <jpeglib.h>
}
class QIODevice;
namespace KisJPEGSource
{
void setSource(j_decompress_ptr cinfo, QIODevice* inputDevice);
}
#endif