You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Lossless JPEG Transformation > JPEGLosslessCrop Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.JPEGLosslessCrop Method

Performs a lossless crop on a JPEG image.

C#
public GdPictureStatus JPEGLosslessCrop(
    String SrcFile, 
    String DstFile, 
    int Left, 
    int Top, 
    int Width, 
    int Height
);
Visual Basic
Public Function JPEGLosslessCrop(
    ByVal SrcFile As String, 
    ByVal DstFile As String, 
    ByVal Left As Integer, 
    ByVal Top As Integer, 
    ByVal Width As Integer, 
    ByVal Height As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
SrcFile 
The source JPEG image. 
DstFile 
The destination JPEG image. 
Left 
The left position in pixel of the area to crop. 
Top 
The top position in pixel of the area to crop. 
Width 
The width in pixel of the area to crop. 
Height 
The height in pixel of the area to crop. 
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.