FreeImage.NET Class Library Reference
FreeImageJPEGTransform Method |
Performs a lossless rotation or flipping on a JPEG file.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool JPEGTransform( string src_file, string dst_file, FREE_IMAGE_JPEG_OPERATION operation, bool perfect )
Parameters
- src_file
- Type: SystemString
Source file. - dst_file
- Type: SystemString
Destination file; can be the source file; will be overwritten. - operation
- Type: FreeImageAPIFREE_IMAGE_JPEG_OPERATION
The operation to apply. - perfect
- Type: SystemBoolean
To avoid lossy transformation, you can set the perfect parameter to true.
Return Value
Type: BooleanReturns true on success, false on failure.
See Also