This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kra file format specifications

Tags: None
(comma "," separated)
gopavv
Registered Member
Posts
1
Karma
0

kra file format specifications

Thu Nov 24, 2016 5:44 pm
Hello,

I'm trying to read a kra file in order to transform it to another file format.

It is a zip file, you open it and you can find some files, one for each layer. In this link there is some information of the layer format:
https://community.kde.org/Krita/Tile_Data_Format

My problem is in binary data. I create a cmyk file and I try to read it, but my readings do not match with the actual cmyk values. After uncompressing (using lzf algorithm) here are the results for two pixels:

- cmyka values: 92, 51, 127, 24, 255 -> my readings: 141, 79, 195, 37, 166
- cmyka values: 44, 47, 9, 5, 255 -> my readings: 186, 196, 37, 19, 61

What am i forgetting?
Is there any document with the kra specifications?

Thanks.
User avatar
timotimo
Registered Member
Posts
72
Karma
1
OS

Re: kra file format specifications

Thu Nov 24, 2016 6:09 pm
perhaps gamma correction and/or color profiles/color management are giving you trouble?


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]