when i use
SaveAsTIFF(Filename, 4)
the image gets saved as a Tiff CCITT4
But when i use RotateAngle and SaveAsTIFF(Filename, 4), the image becomes a LZW compressed color or grayscale image
Is this the normal way in GdPicture?
How do i get my image saved as Bitonal Tiff CCITT4
Delphi code used:
- Code: Select all
Imaging1.CreateImageFromFile(Filename);
D:=-1*Imaging1.GetSkewAngle;
Imaging1.RotateAngle(D);
Imaging1.SaveAsTIFF(Dest, 4);
Imaging1.CloseNativeImage;
