Swaps two frames in an editable multiframe gif image.
public GdPictureStatus GifSwapFrames( int ImageID, int Frame1, int Frame2 );
Public Function GifSwapFrames( ByVal ImageID As Integer, ByVal Frame1 As Integer, ByVal Frame2 As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. The editable multiframe gif image in which frames will be swapped. |
|
Frame1 |
The position of the first frame to swap with the second. Must be a value from 1 to the current number of frames available in the multiframe gif image. |
|
Frame2 |
The position of the second frame to swap with the first one. Must be a value from 1 to the current number of frames available in the multiframe gif image. |
A member of the GdPictureStatus enumeration.
This function can only be used with an editable multiframe gif image.
To check if an image is an editable multiframe gif image you can use the GifIsEditableMultiFrame() function.
To save modifications brought to the multiframe gif image you need to use the GifSaveMultiFrameToFile() function.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|