pilotjourney — 2010-12-31T10:18:15-05:00 — #1
We are creating a 1 page PDF for a gift certificate. We are using fPDF library.
The issue we run into is that the single page PDF is around 350K.
If someone orders 4 we end up with a rather large file the customer needs to download.
Is there another library or some technique to create a smaller file size?
shyflower — 2010-12-31T10:29:41-05:00 — #2
There are bunches of optimization tools available from this Google Search
pilotjourney — 2010-12-31T10:34:10-05:00 — #3
Ok, lets try this again. What tools as anyone used and been satisifed with.
Yes, I searched google before posting.
shyflower — 2010-12-31T10:41:39-05:00 — #4
Okay. I use PDF-edit which is open source. However, I run a linux os. Not sure if it will work on windows. Here's the link: http://pdfedit.petricek.net/en/index.html
You might also want to try a source using the term "Open Source PDF Editors"
g_schuster — 2010-12-31T11:17:12-05:00 — #5
I'm pretty sure the size isn't fPDFs fault - but of your images.
I used fPDF in a "print your mug, your shirt or whatever" shop some years ago with high-res pictures and the size grew (or shrunk) with the image size.
If you don't use images you're doing something else wrong (no offense!) - give some code so we can have a look.