Hello everyone,
First of all, I wish you all a Happy Newyear!
I have a question regarding the export of images through the API.
I've succeeded in generating imagefiles of the different scenes I have however I've only succeeded in exporting them as BMP-files.
First of all here is the code I'm using:
xpScene selectedScene;
xpImage img;
engine.GetSceneByName("Test", out selectedScene);
selectedScene.GetRenderedFrame(40, 1920, 1080, out img);
xpTools.xpImageToFile(img, IMAGE_TYPE.IT_BMP, @"C:test.bmp");
This is working fine, but I would like to export the images as JPG or PNG. Now I remember in VB6 I had 4 different formats I could choose (BMP, JPG, PNG and TGA). In C# I only seem to be able to select the BMP as image type.
Do I need to do something additional?
Kenneth