Foros - Stratos

Proyectos => CRM32Pro => Mensaje iniciado por: man2 en 27 de Mayo de 2007, 04:24:41 AM

Título: JPG support
Publicado por: man2 en 27 de Mayo de 2007, 04:24:41 AM
Is there jpg support in this engine? or at least is there a way to load JPG? BMP and PNG is big size image. Thanks
Título: JPG support
Publicado por: TheAzazel en 28 de Mayo de 2007, 01:07:28 PM
No, there isn't. The way to load JPG is using and external library (libjpeg).

I agree BMP is not very useful but PNG compress the images to good ratios WITHOUT quality loss and due to CRM32Pro is focused on 2D games without the use of 3D textures it has not much sense to support JPEG files.

On the other hand.... today, one megabyte more or less is not important, so, why don't you use PNG and forget the image size? :)

Cheers!