Can I rotate an Image 180 Degrees with Freeimage
Can I rotate an Image 180 Degrees with Freeimage
I need to turn upside down scanned images. Does TImage have the posibility?
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
Paul,
you can use these functions to rotate images with FreeImage
you can use these functions to rotate images with FreeImage
Code: Select all
DLL32 STATIC FUNCTION FIRotate ( hDib AS LONG, nAngle AS _DOUBLE ) AS LONG;
PASCAL FROM "_FreeImage_RotateClassic@12" LIB hLib
DLL32 STATIC FUNCTION FIRotateEX ( hDib AS LONG, nAngle AS _DOUBLE, x_Shift AS _DOUBLE,y_Shift AS _DOUBLE,;
x_Orig AS _DOUBLE, y_Orig AS _DOUBLE, lMask AS BOOL ) AS LONG;
PASCAL FROM "_FreeImage_RotateEx@48" LIB hLib
kind regards
Stefan
Stefan
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
Re: and...
Fernando,
I don´t know, you can look in the manual of freeimage if such a feature is supportedfleal wrote:Hi,
I have two images en test.tiff
I try show the second imagen with freeimage.... This is possible ??
kind regards
Stefan
Stefan