JPEG to PNG conversion in Java

Hi,

My company looking for a solution to convert documents and generate thumbnails.
I am trying to generate thumbnails using Groupdocs.Conversion for java.
It worked very well with pdf, doc, ppt, xls, etc.

However, when I convert an image(jpg, gif,tif, etc) to image(png), the resolutions which I set to ImageSaveOptions seem like don’t work.
The output file’s size does not much changed.

I’m wondering if I missed something.
Could you please help me out with this problem?

Here is my codes:

	ImageSaveOptions imagesaveOption = new ImageSaveOptions();
	imagesaveOption.setConvertFileType(ImageSaveOptions.ImageFileType.PNG); 
	imagesaveOption.setPageNumber(1);
	imagesaveOption.setNumPagesToConvert(1);
	imagesaveOption.setHeight(120);
	imagesaveOption.setWidth(120);
	imagesaveOption.setHorizontalResolution(30);
	imagesaveOption.setVerticalResolution(30);	

Groupdocs version: 18.12 for java
os: Mac OS High Sierra
IDE: eclipse
Java: 1.8

Thanks,
James

1 Like

@JamesSung,

Thanks for taking interest in GroupDocs.Conversion for Java and posting your concerns.
This issue is reproduced at our end. Hence it has been logged in our internal issue tracking system with ID:CONVERSIONJAVA-551. We are further investigating it. You’ll be notified as we have any further update.

Thank you for your quick response.
Could you please tell me when you expect this problem to be addressed roughly?
Can I expect it before July, 2019?
We need to know it to decide to buy it or not.

Thanks

@JamesSung,

This issue is still under investigation. We’ll share an ETA with you as we have any update. We’ll appreciate your patience in this regard.

@JamesSung,

This issue will be resolved in 19.3 version of the API.

It is expected in this Month, we’ll update you as release gets available to download.

That is great news.
Thank you for the update.

1 Like

@JamesSung,

You’re welcome.

@JamesSung,

Your reported issue CONVERSIONJAVA-551 is now resolved in version 19.4.