Is there a Java library that can read XCF
image format (GIMP
native file format), i.e. into BufferedImage
?
I know there is a linux script xcf2png
or xcf2jpg
. Is it possible to read directly from Java?
Asked
Active
Viewed 473 times
2

Matteo Baldi
- 5,613
- 10
- 39
- 51

Radim Burget
- 1,456
- 2
- 20
- 39
-
Read what, the individual layers, masks and channels, or the composite image? – xenoid Feb 25 '19 at 12:42
-
I don't think such a library exists, but I would be very interested to create an XCF ImageIO plugin for Java, given the time and resources to do so. – Harald K Feb 25 '19 at 13:39
-
Optimally to read individual layers – Radim Burget Feb 25 '19 at 14:06
1 Answers
1
There is no available library that can read or parse XCF file. If you don't want to convert it in the first place, you should be implementing your own parser, using https://gitlab.gnome.org/GNOME/gimp/blob/master/devel-docs/xcf.txt

Vinz243
- 9,654
- 10
- 42
- 86