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.
It works fine for me.
Is the image in your assets folder?
Try this...