jeudi 7 septembre 2017

Tiff images are not rendered when using PDFKit

I am using PDFKit to generate a PDF file with Tiff images

kit = PDFKit.new("<img src='test.tif'")
kit.to_file("hello.pdf")

But in the output PDF file, Tiff images are not rendered. I have tried a JPEG file. It's working perfectly. Any help would be appreciated.

Aucun commentaire:

Enregistrer un commentaire