Saves a GdPicture image in high dynamic-range image format.
public GdPictureStatus SaveAsEXR( int ImageID, String FilePath, ExrCompression Compression );
Public Function SaveAsEXR( ByVal ImageID As Integer, ByVal FilePath As String, ByVal Compression As ExrCompression ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
FilePath |
The complete file path to save a GdPicture image. |
|
Compression |
A combination of members of the ExrCompression enumeration. |
A member of the GdPictureStatus enumeration.
How to convert BMP file to high dynamic-range file
Dim ImageID As Integer ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("image.bmp") If ImageID <> 0 Then oGdPictureImaging.SaveAsEXR (ImageID, "image.exr", ExrCompression.ExrCompressionDefault) oGdPictureImaging.ReleaseGdPictureImage (ImageID) End If
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|