We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to convert apg to jpg?

Hi, Support:
Is there any method to convert apg image to jpg image?
Please refer to the demo file Cyanomonas (3).zip (3.1 KB)

@ducaisoft You can use documentation examples for apng https://docs.aspose.com/imaging/net/convert-apng-files/#export-apng-animation-to-animated-gif , related conversion to jpg it is the same as usual saving for example to gif, but you need to specify new JpegOptions when perform image.Save to Jpg. Also please note, file you have provided looks broken, because we can not open it in Imaging and also in another editors too.

Thanks for your suggestion.
However I try do as you suggest, but fail.
please refer to my codes.
TestErr.jpg (40.7 KB)
TestErr2.jpg (58.5 KB)
The following error is generated based on Vb.net 3.5 and Image.dll v20.10

The following error is generated based on Vb.net 4.7 and Image.dll v20.10

How to fix this? Or Would you provide me a Vb.net demo based on Net3.5 or Net4.6 or latest.


@ducaisoft, Unfortunately we can not open provided by you file. Also we can not directly locate what type of file is it and how can we open it at all. Please note Aspose.Imaging does not support view of provided by you file. Please give for us more information about what is that format and how can we open it and we will investigate is there any plans to support it.

Please refer to this introduction.

@ducaisoft We have reviewed your request. Aspose.Imaging does not support apg files and don’t have plans to support it.