Posted By: wraggster
Mollusk posted this news:
I just tweaked PAGfx a lot, and the results are pretty amazing...
1. I rewrote the tile optimisation system, now sorts the tiles depending on their corner colors, that way I don't need to comapre every tile with all the others anymore, but just the tiles with the same corners... Much faster...
2. I found some code on the net to make the Image reading much faster... This means that instead of 7 seconds for a 2048x2048 image (palette generation time), it now takes less than a second, which seems like a pretty decent speed increase...
As some of the code rewritten is critical to the final output, I'll need some betatesters, as always El Hobito already found one nice big bug we managed to correct. The version seems pretty stable (no hangs when testing on my computer) and should have correct results (all backgrounds tested had the exact same number of tiles as with the old PAGfx version)...
If you want to give it a try, it's over here :
http://www.palib.info/Beta/PAGfxBETA.zip
Please report any hanging, map/tile problems, or if you still see some slowdowns in the conversions, I'll try to speed-up the last parts I didn't touch
Thanks
edit : updated to fix a small bug with RotBg backgrounds, sorry !