Welcome Guest Search | Active Topics | Sign In | Register

webp file to PDF Options
Mikhael
Posted: Friday, February 9, 2024 1:52:02 AM
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.rar

Mikhael
eo_support
Posted: Friday, February 9, 2024 9:23:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
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!
Mikhael
Posted: Friday, February 9, 2024 11:16:36 AM
Rank: Newbie
Groups: Member

Joined: 6/24/2020
Posts: 4
Thank you!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.