Saves a GdPicture image as JPEG-2000 File image format.
public GdPictureStatus SaveAsJP2( int ImageID, String FilePath );
Public Function SaveAsJP2( ByVal ImageID As Integer, ByVal FilePath As String ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
FilePath |
The complete file path to save a GdPicture image. |
A member of the GdPictureStatus enumeration.
This function works only with 8-bits grayscale images, 24-bits images and 32-bits images
How to convert BMP file to JPEG 2000 file
Dim ImageID As Integer ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("image.bmp") If ImageID <> 0 Then oGdPictureImaging.SaveAsJP2 (ImageID, "image.jp2") oGdPictureImaging.ReleaseGdPictureImage (ImageID) End If
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|