FreeImage.NET Class Library Reference
FreeImageBitmapJPEGTransform 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 source, string destination, FREE_IMAGE_JPEG_OPERATION operation, bool perfect )
Parameters
- source
- Type: SystemString
Source file. - destination
- 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