Hi Guys,
What is the best way to load an image (JPG file), resize and save it ?
Hi Guys,
What is the best way to load an image (JPG file), resize and save it ?
+1
 aBmp  := FW_ReadImage( nil, "c:\fwh\bitmaps\olga1.jpg", { 176, 225 } ) // Load resized image
  FW_SaveImage( aBmp[ 1 ], "olgasmal.jpg", 100 )
  PalBmpFree( aBmp )nageswaragunupudi wrote:  aBmp  := FW_ReadImage( nil, "c:\fwh\bitmaps\olga1.jpg", { 176, 225 } ) // Load resized image   FW_SaveImage( aBmp[ 1 ], "olgasmal.jpg", 100 )   PalBmpFree( aBmp )
Original size of olga1.jpg is 352x450 px. Loaded with size 176x225 and then saved.
Thank you Mr Rao ![]()
Is there any doc with an explanation about this fw_ image functions and its parameters ?
I would like to know more about these functions ![]()
fwh\source\function\imgtxtio.prg
Thank you ![]()