As this was about jpg, Dilwyn did not mention his BMP program that also
shows BMP files in a window, without distortion, but only 24 bits.
Also does batch conversions. But only tested AFAIK with QPC2/QXL Mode 32 style screens. There is conversion code for Qx0 Mode 33 screen but I am not sure if it has ever been tested (no Q40 or Q60!)

Well, I have no Qx0 either but have used your BMP to convert to m33 and my routine to do the same. Converting these to m32 gave the same result, so they must be ok, or both have identical bugs!
Ha! I thought someone would have told me by now if they didn't work.

But, knowing my luck, it will be "identical bugs" :-)

As almost everything needs conversion to the native pic format, this pic can then be saved.
PE screen save and restore functions in Easyptr all work with PIC files, so although they are large, it serves as a good base point to work from, then it is fairly easy to save as PIC or screen-bytes formats, even Goerge's PSA files for his apps.

GD2 sprites can be quite large (not sure if there's a limit) - it makes sense to be able to save at least small pictures as sprites.

So far I can only convert uncompressed images, RLE sprites are done by Wman2 and can then be pic'd from the the screen.
I haven't looked at the RLE format much, but I think it's just simple run length encoded as the name implies. I'm sureit's documented in one of the GD2/WMAN2 documents on my website.

Dilwyn Jones
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to