|
FreeImage_SaveJPG | |
FreeImage_SaveJPG Filename$, ImageIndex, [CompressionQuality =1] | |
Parameters: Filename$ = The name and path of the output file ImageIndex = The Index of the image you wish to save [CompressionQuality =1] = The quality of the saved image. Ranges from 0 (Best) to 4 (worst) |
|
Returns: NONE | |
The FreeImage_SaveJPG function uses the FreeImage library to save an image out to disc in JPG format. The saver has an optional compression quality parameter so you select how much quality loss you want in your saved picture. Valid Compression Quality Parameter:
The saver gives us a selection of quality modes for the saved picture. JPG is a lossy compression format remember, so the lower the quality you pick, the smaller the file sizes, but the less accurate those pictures are going to be. FACTS: * None Mini Tutorial: This example includes the library, create a gradient image then saves it out to disk.
|
Related Info: | FreeImage_LoadImage | FreeImage_SaveBMP | FreeImage_SavePNG | LoadImage : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |