save images as JPG?

Blitz3D Forums/Blitz3D Programming/save images as JPG?

Dimas(Posted 2006) [#1]
Is there any way to save images as .jpg files instead of .bmp?


jfk EO-11110(Posted 2006) [#2]
AFAIK saving JPG (without to own a license) became legal not so long ago. That's why it isn't so common. Once upon every App that was capable of saving JPG had to purchase a license from the patent owner, and in the header of the JPG file they usually had to name the license owner.

Saving JPG using blitz code may be a bit complicated (I guess there's no sourcecode yet), but there are some commandline tools that allow to convert a bmp to a jpg.

you may try to find "bmp2jpg" at google.


Stevie G(Posted 2006) [#3]
If you don't need to save it within code, just load the .bmp into the windows picture viewer and saveas .jpg format from there. That's what I do.

Stevie


Pinete(Posted 2006) [#4]
Maybe this can help you.
Explore the complete post, is not very long.
It seems that FreeImageLib can do that.

http://www.blitzbasic.com/Community/posts.php?topic=60011

:)

regards


Ross C(Posted 2006) [#5]
Yep, the freeimage library is excellent for this :o)


markcw(Posted 2006) [#6]
i have just finished a decls for the latest freeimage.

you can check it out here:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1732