Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • How many images are in your file? Remember that EVERY image you display on your site is going to be embedded at full resolution in your PDF. Commented Aug 27, 2024 at 22:56
  • Tim Roberts, inside my html there is only 1 image, is a logo.. but it shouldnt be 1mb for page, seems weird Commented Aug 28, 2024 at 1:26
  • i think that is not the point, the problem relies on transforming, in python pdfkit, my html code into pdf file... i am going to edit my quesiton putting in it Commented Aug 28, 2024 at 1:32
  • hummmmm, nice, i am going to try later, but for now... <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="fonts.googleapis.com/…" rel="stylesheet" /> <title>Simple Transactional Email</title> <style> this is my html file starting, imagine that on the loop i am adding 16 times as you said Commented Aug 28, 2024 at 2:37