Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_jpeg_converter.cc File Reference
#include "kis_jpeg_converter.h"
#include <stdio.h>
#include <stdint.h>
#include <KoConfig.h>
#include <lcms.h>
#include <iccjpeg.h>
#include <exiv2/jpgimage.hpp>
#include <exiv2/version.hpp>
#include <QFile>
#include <QBuffer>
#include <QApplication>
#include <klocalizedstring.h>
#include <KoDocumentInfo.h>
#include <KoColorSpace.h>
#include <KoColorSpaceRegistry.h>
#include <KoColorProfile.h>
#include <KoColor.h>
#include <KoUnit.h>
#include "KoColorModelStandardIds.h"
#include <KisDocument.h>
#include <kis_group_layer.h>
#include <kis_image.h>
#include <kis_iterator_ng.h>
#include <kis_jpeg_destination.h>
#include <kis_jpeg_source.h>
#include <kis_meta_data_backend_registry.h>
#include <kis_meta_data_entry.h>
#include <kis_meta_data_store.h>
#include <kis_meta_data_value.h>
#include <kis_paint_device.h>
#include <kis_paint_layer.h>
#include <kis_painter.h>
#include <kis_transaction.h>
#include <kis_transform_worker.h>

Go to the source code of this file.

Classes

struct  KisJPEGConverter::Private
 

Macros

#define ICC_MARKER   (JPEG_APP0 + 2) /* JPEG marker code for ICC */
 
#define ICC_OVERHEAD_LEN   14 /* size of non-profile data in APP2 */
 
#define MAX_BYTES_IN_MARKER   65533 /* maximum data len of a JPEG marker */
 
#define MAX_DATA_BYTES_IN_MARKER   (MAX_BYTES_IN_MARKER - ICC_OVERHEAD_LEN)
 

Functions

const QByteArray photoshopIptc_ ((char *)&photoshopIptc, 2)
 

Variables

const uint16_t photoshopIptc = 0x0404
 
const char photoshopMarker [] = "Photoshop 3.0\0"
 
const char xmpMarker [] = "http://ns.adobe.com/xap/1.0/\0"
 

Macro Definition Documentation

◆ ICC_MARKER

#define ICC_MARKER   (JPEG_APP0 + 2) /* JPEG marker code for ICC */

Definition at line 58 of file kis_jpeg_converter.cc.

◆ ICC_OVERHEAD_LEN

#define ICC_OVERHEAD_LEN   14 /* size of non-profile data in APP2 */

Definition at line 59 of file kis_jpeg_converter.cc.

◆ MAX_BYTES_IN_MARKER

#define MAX_BYTES_IN_MARKER   65533 /* maximum data len of a JPEG marker */

Definition at line 60 of file kis_jpeg_converter.cc.

◆ MAX_DATA_BYTES_IN_MARKER

#define MAX_DATA_BYTES_IN_MARKER   (MAX_BYTES_IN_MARKER - ICC_OVERHEAD_LEN)

Definition at line 61 of file kis_jpeg_converter.cc.

Function Documentation

◆ photoshopIptc_()

const QByteArray photoshopIptc_ ( (char *)& photoshopIptc,
2  )

Variable Documentation

◆ photoshopIptc

const uint16_t photoshopIptc = 0x0404

Definition at line 65 of file kis_jpeg_converter.cc.

◆ photoshopMarker

const char photoshopMarker[] = "Photoshop 3.0\0"

Definition at line 63 of file kis_jpeg_converter.cc.

◆ xmpMarker

const char xmpMarker[] = "http://ns.adobe.com/xap/1.0/\0"

Definition at line 66 of file kis_jpeg_converter.cc.