Read Gimp's XCF image file in Java

530 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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