Closed tkfu closed 5 years ago
@packetmonkey This fix is vitally important for Asciidoctor PDF, which relies on prawn-gmagick to substantially decrease the time it takes to generate a PDF. Jon has submitted a PR. If there's anything I can do to help get this into a release, please don't hesitate to ask. Thanks in advance!
@pointlessone would it be possible to get the associated PR merged?
@mojavelinux Which one is that?
@mojavelinux I don't have access. I'm not involved with this project. I'm afraid it'll have to wait until Evan has some time.
Thanks for the info!
To minimally reproduce: Using the attached test.png, run the following ruby script:
Then, look at the file sizes:
And check out the image object breakdown using the poppler suite:
Now, in this trivial case with a single tiny PNG using simple transparency, I added almost 900k to the pdf. When this first came up for real, I went from a 3MB pdf to an 80MB pdf.