Author Topic: PDF File size issue  (Read 27069 times)

Wildcat

  • Newbie
  • *
  • Posts: 10
PDF File size issue
« on: June 14, 2012, 06:55:17 pm »
I have just edited the Header on my Invoice Module and the file size for the Invoice PDF's has gone from approx 100Kb to 1500Kb.

The new header image is 147Kb so I would have expected a slight jump in file size but this is way too large.

Any ideas?

Cheers
Cat

Ernesto

  • Jr. Member
  • **
  • Posts: 83
Re: PDF File size issue
« Reply #1 on: June 16, 2012, 01:31:50 pm »
Hi Cat.

I have just edited the Header on my Invoice Module and the file size for the Invoice PDF's has gone from approx 100Kb to 1500Kb.

The new header image is 147Kb so I would have expected a slight jump in file size but this is way too large.

Any ideas?

Cheers
Cat

What's the image dimension in pixels?

I suspect your source image is in JPEG compressed format, but the application itself receives the image decompressed by the system at full resolution.
TimeMaster saves the image in PNG format internally, which does only lossless compression, but it doesn't compress well on images with a lot of color variations.
Perhaps this is something that can be improved.

As a test, save the image in PNG format instead of JPEG from your editor. It'll give you a better idea for file size.

Cheers,
Ernesto.

Wildcat

  • Newbie
  • *
  • Posts: 10
Re: PDF File size issue
« Reply #2 on: June 17, 2012, 01:31:41 am »
Thank you kindly Ernesto!

I saved the image as an 8 bit png file (smaller dimensions also) and uploaded to Time Master and my invoices are back around the 100Kb mark again.

I really appreciate that you answer queries via the Forums so quickly. I am a very happy user and you make an excellent product!

Cheers
Cathy


Ernesto

  • Jr. Member
  • **
  • Posts: 83
Re: PDF File size issue
« Reply #3 on: June 17, 2012, 07:03:32 pm »
Thank you kindly Ernesto!

I saved the image as an 8 bit png file (smaller dimensions also) and uploaded to Time Master and my invoices are back around the 100Kb mark again.

I really appreciate that you answer queries via the Forums so quickly. I am a very happy user and you make an excellent product!

Cheers
Cathy

You're welcome Cathy!

I'll add to the wishlist an option to potentially encode the images in JPEG format with user-selectable compression quality. I can see where that would be useful for complex logos, especially with high DPI printers.

Can't make any promises as far as when and if the feature will go in, but it'll be on the list.

Please let us know if we can assist you with anything else.

Regards,
Ernesto.