Is there any way to save images as .jpg files instead of .bmp?
save images as JPG?
Blitz3D Forums/Blitz3D Programming/save images as JPG? 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.
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.
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
Stevie
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
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
Yep, the freeimage library is excellent for this :o)
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
you can check it out here:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1732