Hi Team,
I like to convert my word document to Epub document using aspose for word .net.
After converting to Epub document all images should have a maximum resolution of 300 DPI; if image resolution is higher than 300 DPI, I want to downscale resolution to 300 DPI.
I tried this code
HtmlSaveOptions saveOptions = new HtmlSaveOptions(SaveFormat.Epub);
saveOptions.ImageResolution = 300;
But this sets resolution of all images to 300 DPI. But I don’t want to upscale the image resolution.
While saving as Epub document, is there any way to downscale image DPI to a particular value.
Any thoughts are highly appreciated.
Thanks,
Arun Chandran C
@cArunchandran