hvHTML don't show pdf in Linux

for pdf converted from tiff

hvHTML.LoadPage fi

works on my MacOSX 10.12.4

but it doesn’t work

on my Ubuntu 14.04 LTS

How can I still show it within my mainWindow

PDF viewing is not built into the HTMLViewer itself
On OS X The underlying OS control has a way to do this
On Linux it does not

You’d need “something else” to

  • maybe turn the PDF into an image
  • a plugin likeDynaPDF to open & show the PDF

Or simply display the TIFF, and not turn it into a PDF in the first place …

TIFF file displaying with HTMLViewer1.LoadPage fi works on Mac but doesn’t
work on Linux
is it possible to wrap in
Anybody have a simple example?

Convert it to png or jpeg.

Again Safari and the underlying engine on OS X has support for things that most browsers don’t because of the support that CoreGraphics gives Safari
So while most major browsers and underlying engines do not support PDF or TIFF ( see https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support) Safari does

I’d use PNG or JPG

If you have imagemagick installed on Linux it may be able to convert the TIFF to a JPG or PNG

i’m able to convert the files in terminal with mogrify/convert from the imagemagick package
but it splits multiple pages in different files, so i have to handle it twice (png_view and pdf_store)

Thanks for your advice