We help IT Professionals succeed at work.

pdf file magnifies in size when it is opened/resaved via Delphi

keats88
keats88 asked
on
Medium Priority
292 Views
Last Modified: 2012-05-11
I'm using a pdf stamper to stamp a pdf, but the problem is that every time I open and close the pdf, the size of the file increases at an exponential pace. I'm looking for known issues with opening/resaving pdfs via code and a work around for those issues.

Thanks!
Comment
Watch Question

aikimarkSocial distance; Wear a mask; Don't touch your face; Wash your hands for 20 seconds
CERTIFIED EXPERT
Top Expert 2014

Commented:
what component/library are you using?

Author

Commented:
I'm using Adult PDF to stamp the files.
Social distance; Wear a mask; Don't touch your face; Wash your hands for 20 seconds
CERTIFIED EXPERT
Top Expert 2014
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Well, wouldn't you expect the duplicate file to over write the original, not double it? The stamper increases in size in an exponential fashion, increasing 5-10kb, then 20-30, then 50-60, etc...

When I do a save as on the file it shrinks from 136Mb to 31Mb. This is smaller, but I'm only adding about 200kb worth of images to a 2Mb file.

Khkremer, is there any way to prevent this from happening or to reverse it outside of the .dll we are using to stamp the file?

CERTIFIED EXPERT

Commented:
Again, I am not familiar with this product, you need to talk to the makers of this library or application and ask them if it's possible to prevent this from happening. You definitely should not end up with a 31MB file.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.