Encode
Write the image to an output channel in the desired format.
bool Encode ( GS::OChannel& outputChannel, Encoding format );
Parameters
- outputChannel
- The target output channel.
- format
- The desired image format.
Return Values
If the function succeeds, the return value is true. If the function fails, the return value is false.
Remarks
NativeImage can handle only two types of images: jpeg and png.Requirements
- Version:
- ArchiCAD 14
- Header:
- NativeImage.hpp
- Import Library:
- DGGraphix.lib
- Module:
- DGGraphix.dll [WIN], DGGraphix.framework [MAC]