Free Support Forum - groupdocs.com

ImageOptions width and height


#1

Hi,

When I converted docs(.doc, .xls, .ppt, .pdf. etc) to images, it seamed like width and height options didn’t work. I could use resolution options to resize images, but sometimes we need to fix the size of images when it is converted.
For instance, when I converted an excel sheet having 10 thousands of rows to image, it generated
a narrow and really long image like width is 100 height is 1000.

It would be awesome if we could resize images.

Please take a look attachments.Archive.zip (196.5 KB)

My codes:
imagesaveOption.setConvertFileType(ImageSaveOptions.ImageFileType.ICO);
imagesaveOption.setHeight(120);
imagesaveOption.setWidth(120);
imagesaveOption.setHorizontalResolution(30);
imagesaveOption.setVerticalResolution(30);

Thanks
James


#2

@JamesSung,

Thank you for your inquiry.
This issue is reproduced at our end, we are further investigating it. Your investigation ticket ID is CONVERSIONJAVA-564
As we have any further update, we’ll notify you.