Rank: Newbie Groups: Member
Joined: 6/24/2020 Posts: 4
|
Hello, It seems, that I can use EO.WebBrowser to load and print WEBP files the same as HTML files. My question is: is it possible to use EO.PDF to convert WEBP files to PDF? Here are two webp files I have for tests: https://download.print-driver.com/ex/mb/webp-files.rarMikhael
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, Yes. You can use EO.Pdf to convert webp to PDF. However it is recommended that you wrap it in an img element. For example:
Code:
HtmlToPdf.ConvertHtml("<img src='cherry.webp' />", "result.pdf");
Thanks!
|
Rank: Newbie Groups: Member
Joined: 6/24/2020 Posts: 4
|
Thank you!
|