cancel
Showing results for 
Search instead for 
Did you mean: 

png images becomes black after converting to pdf

e-no91
Champ in-the-making
Champ in-the-making
I've used transformDocument from "image/png" to "image/tiff" and finally to "application/pdf" to convert from PNG image to PDF file.
However, the results is an image with black colour. Why does it becomes like this?

It works well with bmp and jpg/jpeg files.

Thank you in advance!
2 REPLIES 2

ratik_singhal
Star Contributor
Star Contributor
While converting "image/png" to "image/tiff", are you using any custom code or using custom properties. I think you might be using imagemagick for that.

e-no91
Champ in-the-making
Champ in-the-making
I directly use the transformDocument function.
I've managed to remove the black colours in pdf by converting "image/png" to "image/bmp" first, before converting it to "image/tiff", then "application/pdf".