[Kde-games-devel] ksnape has binary data

Ian Wadham iandw.au at gmail.com
Thu Mar 22 00:52:15 UTC 2012


On 21/03/2012, at 7:48 AM, Wolfgang Rohdewald wrote:

> Am Mittwoch, 21. März 2012, 07:38:06 schrieb Ian Wadham:
>> Could you just throw away the binary data?  IIRC .xpm files are supposed
>> to be compilable in C, so they should normally end at the "};" line.
> 
> I thought so too but it seems sometimes programs append things.
> In Bark.xpm, XV (image viewer) appended tags in non-ascii-form.
> 
> Maybe I can strip the binary data after the }; like you propose but I am
> not so sure about it. I would certainly not be willing to test if the
> result still works like it should (with libraries as they were at that time).
> In any case this would lose history - in Bark.xpm the tag fields look like
> 
> HISTORY Written by XV 3.10a                                                     
> COMMENT   Imported from GIF image: bark.gif

That history was so long ago that the commit might have been infringing
Unisys' now-expired patent on GIF …  I suggest the binary might be the
GIF format of the same picture as is in the XPM, so I would say delete it.

Cheers, Ian W.




More information about the kde-games-devel mailing list