[Gimp-developer] Re: [CinePaint-dev] GIMP GBR format spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

"Robin Rowe" <rower@xxxxxxxxxxxxxxx> writes:

>> A 640x480 8-bit image file example.cpx would be laid out something like
>> this:
>>
>> <CPX>
>> <IMG width=640 height=480 depth=8u raster=RGB compress=none bytes=921600
>> data=...[921,600 raw bytes]...>

I am sorry but this format may look like XML but it doesn't follow the
XML specification. You cannot include binary data as CDATA. If you
really want to keep the data in the XML file, you will have to convert
it to text, preferably in ASCII encoding. I don't see much advantage
in such an approach and I am sure that not many XML parsers will like
CDATA blocks of several megabytes.

We actually had something else in mind but since you don't seem to be
interested I won't waste my time explaining our ideas.


Sven


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux