Applies transformation to a JPEG image without loss of information.
When a JPEG image is compressed, some of the information in the image is lost.
If you open a JPEG file, modify the image, and save it to another JPEG file, the quality will decrease.
This function allows to opening / modifying / saving JPEG images, without loss of information.
public GdPictureStatus TransformJPEG( String InputFile, String OutputFile, JPEGTransformation Transformation );
Public Function TransformJPEG( ByVal InputFile As String, ByVal OutputFile As String, ByVal Transformation As JPEGTransformation ) As GdPictureStatus
|
Parameters |
Description |
|
InputFile |
The path of the image to transform. |
|
OutputFile |
The path of the transformed image. |
|
Transformation |
The JPEG transformation to apply. A member of the JPEGTransformation enumeration. |
A member of the GdPictureStatus enumeration.
This function uses WinAPI.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|