Free Support Forum -

TIFF to PDF conversion showing black image in Java (2.0 MB)

We have purchase temporary license for product groupdocs.conversion and use below code to convert all the mention format into pdf.
Converter converter = new Converter(filepath.toString());
PdfConvertOptions options = new PdfConvertOptions();
converter.convert(path.toString(), options);

It works fine for all format but for one format .tiff and that too for this specific file we are getting black image after converting to PDF, technical team share the code to convert .tiff to jpeg and from .jpeg to .pdf but we need some generic code which will work for all format, other .tiff file works fine its issue with this file only could you please check and let us know, we have raise invoice for purchasing of this product. Below is the temporary code provided by technical team.

ImageLoadOptions loadOptions = new ImageLoadOptions();
Converter converter = new Converter(“file_example_TIFF_1MB.tiff”, loadOptions);
ImageConvertOptions saveOptions = new ImageConvertOptions();
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
converter.convert(outputStream, saveOptions);
InputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
converter = new Converter(inputStream);
PdfConvertOptions options = new PdfConvertOptions();
converter.convert(“Output.pdf”, options);

Attach is the file which is giving issue.

Thanks (2.0 MB)


This issue is reproduced at our end. We are investigating it with ticket ID CONVERSIONJAVA-1209. You’ll be notified in case of any update.

We are facing same issue with all the tiff file we downloaded from below site. Below are the sites from where we downloaded the tiff file.



Thank you for the details. We’ll continue the investigation and let you know in case of any progress update.

Any updates this is delaying our purchase of product.


This issue is fixed in API Version 21.1. As release gets on-board, we’ll notify you.

The issues you have found earlier (filed as CONVERSIONJAVA-1209) have been fixed in this update. This message was posted using Bugs notification tool by Atir_Tahir

Please let us know what need to be done from our end so we can use this update to fix the issue.


You just have to add new JAR file in your project. Let us know if you face any issue.

Please let me know from where we need to take the updated jar? do we need to purchase license again?

1 Like


Please download the JAR file here. If your license expires after the release date of 21.1 then you have a valid subscription (no need to purchase or renew license again).