Hi There,
I'm working on CosPlay Engine (
https://cosplayengine.com) and I wrote a simple function that stores any image in *.xp format so that it could be further edited in REXPaint. I've followed the format details in the manual. In fact, I have two functions: one for reading *.xp files and one for write in *.xp format. Reading works fine.
However, when I am trying to open *.xp file produced by my function in REXPaint - it says in 'run.log' the following:
N=0000308 | CPathButton::init() | Ignoring protected file: images/pong_logo.xp
(pong_logo.xp is the file I produced).
Here's direct source code for the *.xp image saver:
https://github.com/nivanov/cosplay/blob/dc853a45e6b460dac4e1ca665041188eaac7c38a/modules/cosplay/src/main/scala/org/cosplay/CPImage.scala#L215Any clues would be greatly appreciated - thanks!