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!