Page 2 of 2

Posted: Fri Dec 03, 2004 11:22 pm
by wildweasel
Some graphics programs don't offer the user a choice when saving PNG files (ie. Pixia, Photoshop 6 i think) and might be saving them as interlaced. And doesn't it have a size difference as well?

Posted: Sat Dec 04, 2004 6:06 pm
by Csonicgo
yes. thank you ww, that's my problem.

Posted: Mon Dec 06, 2004 12:37 pm
by randi
wildweasel wrote:And doesn't it have a size difference as well?
Yes, interlaced PNGs are almost always larger.

Posted: Mon Dec 06, 2004 1:38 pm
by Risen
randy wrote:Fixed. The problem isn't that this is a PNG at all but that it has so many transparent regions per column. A standard Doom image would have crashed the same way, because it exceeds assumptions I made about the number of transparent areas that would need to be handled per column.
Interesting. I thought my earlier crashes were due to a bad import since XWE wasn't displaying them. I may have been running into this instead.

Posted: Mon Dec 06, 2004 2:52 pm
by randi
Note that this image is going to kill performance if you do display it, for the same reason it crashed before. If it was a series of vertical bars instead of horizontal bars, it will be faster.

Posted: Mon Dec 06, 2004 3:17 pm
by Risen
Would it perform better if I broke it up? I didn't have any problems displaying a 320x200 version of this.

Posted: Mon Dec 06, 2004 5:31 pm
by randi
The best approach to take would probably be to use just a few horizontal bars (maybe around 8) and then draw that image several times to get the full image.