Feature request > 2D

Good, fast, stable support for JPEG files in LOADSPRITE etc.

<< < (3/5) > >>

I must admit, I had hoped that someone would ahve taken a similar approach to my initial thoughts on the .obj file format - and started tackling the .jpeg file format in GLBasic from first principles. Possibly even converting from C source code freely avaiable at site slike:


(links very quickly obtained via google).

I have slightly fond memories of using a version of FORTH which had been written and compiled in an earlier version of FORTH, and have wondered whether producing our own 2libraries" might be something the community was "up for" on a collective basis - there certainly seem to be some code snippets along those lines. Maybe those who post their code thend not to be those interested in 3D or different graphic formats?

The ability to load raw image data to a sprite has only been available for a few days, hold your horses :-)

Apparently Gernot is using the jpeg code from http://www.ijg.org/ - but its being a problem...

I can wait a bit. Even without days like today when my head's splitting too much to code, I've got a fair few bits and pieces to put together and test out. Plenty of refining before I NEED good .jpeg support - though I fear I have lost sight of the prudence I intended to have when approaching GLB to eval :(


--- Quote ---JPG at 95% quality is still way smaller than PNG, without apparent degradation in quality.
--- End quote ---

I must be the only one who prefers PNGs because they almost always seem to be smaller than JPGs with better quality. That's why I typically only use PNGs for web design.  After a certain size a JPG might be smaller, but for mostly what I've done PNG has been smaller.


[0] Message Index

[#] Next page

[*] Previous page

Go to full version