Example code for a 100 x 100 pixel sized image with a green triangle:
0 !LPE_DAT2PNG 100 100 Test.png
0 !: 3 2 0 0 0 1 0 0 0 1 0
0 !LPE_DAT2PNG_END
Here is a different interesting !TEXMAP approach, which uses *.dat files as an image source:
Roland M. wrote:
This projects the ldr given in !TEXMAP onto a tight fitting 1280x1280 texture. And then use it like any normal TEXMAP texture.
The final version has to do (Way) more with dimensions and positioning, but I was thinking this is a nice little proof of concept already?
ldrTexTest.ldr.txt

Example code for a 100 x 100 pixel sized image with a green triangle:
Here is a different interesting
!TEXMAPapproach, which uses *.dat files as an image source:Roland M. wrote:
ldrTexTest.ldr.txt