[InFine] ximage: support for 8-bit paletted PNG images
I want to use the “ximage” infine command in my mod to load a very large number of external images to take advantage of the lack of palette restrictions.
However the command only seems to support RGB indexed images, which tremendously bloats the size. i.e. I have a 320x200 indexed png file that is 10kb. But converted to RGB, it takes up 190kb.
I could load the pngs as external patches, which supports images in indexed format. But that would mean having a wad with a ton of “dummy images” inside (i.e blank image lumps for the external patches to replace), which isn’t very clean.
Using this method also requires the use of the” –pwadtex” command line option, which would be an extra step for anyone else who wishes to play my mod when it is finished.
#5 Updated by vermil about 10 years ago
It does appear to be fixed yes.
On another note; the Ximage command is cool and all, but it can only be used with rectangles.
There is no command in infine to straight up load an external image; one has to create a rectangle and then attach the external image to it.