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

Free Support Forum - aspose.com

ImageFileType enum, only Unknown and Svg available

Previously there was Jpeg, Tiff, Bmp, Gif and Png ImageFileTypes available in the Aspose.Pdf.Generator.ImageFileType enumeration.

Now only Unknown and Svg are available in Aspose.Pdf namespace (now that Aspose.Generator.ImageFileType is obsolete). Where can I find the other image file types?

Regards,
Eemeli

@eemeli.pyottio

Thanks for contacting support.

You do not need to specify Image.FileType in case of all image formats which are supported by the API, except SVG. In case if you are loading image through Base64String, you may set FileType as Unknown. Furthermore if you experience any other issue while working with images, please share your sample file along with sample code snippet, so that we can test the scenario in our environment and address it accordingly.