Krita Source Code Documentation
Loading...
Searching...
No Matches
compression.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2010 Boudewijn Rempt <boud@valdyas.org>
3
* SPDX-FileCopyrightText: 2021 L. E. Segovia <amy@amyspark.me>
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
*/
7
#ifndef COMPRESSION_H
8
#define COMPRESSION_H
9
10
#include "kritapsdutils_export.h"
11
12
#include <QByteArray>
13
#include <
psd.h
>
14
15
class
KRITAPSDUTILS_EXPORT
Compression
16
{
17
public
:
18
static
QByteArray uncompress(
int
unpacked_len, QByteArray bytes,
psd_compression_type
compressionType,
int
row_size = 0,
int
color_depth = 0);
19
static
QByteArray compress(QByteArray bytes,
psd_compression_type
compressionType,
int
row_size = 0,
int
color_depth = 0);
20
};
21
22
#endif
// PSD_COMPRESSION_H
Compression
Definition
compression.h:16
psd.h
psd_compression_type
psd_compression_type
Definition
psd.h:39
libs
psdutils
compression.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52