Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_tiff_converter.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2005-2006 Cyrille Berger <cberger@cberger.net>
3 * SPDX-FileCopyrightText: 2021 L. E. Segovia <amy@amyspark.me>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8#ifndef KIS_TIFF_OPTIONS_H
9#define KIS_TIFF_OPTIONS_H
10
11#include <kis_types.h>
12
14 quint16 compressionType = 0;
15 quint16 predictor = 1;
16 // Disable alpha by default because the test suite
17 // doesn't run the dialog's color space checks.
18 bool alpha = false;
19 bool saveAsPhotoshop = false;
20 quint16 psdCompressionType = 0;
21 bool flatten = true;
22 quint16 jpegQuality = 80;
23 quint16 deflateCompress = 6;
24 quint16 pixarLogCompress = 6;
25 bool saveProfile = true;
26
29};
30
31#endif // KIS_TIFF_OPTIONS_H
void fromProperties(KisPropertiesConfigurationSP cfg)
KisPropertiesConfigurationSP toProperties() const