Alaska Software Inc. - PDF file size
Username: Password:
AuthorTopic: PDF file size
Ben Bodenstein PDF file size
on Tue, 24 Aug 2010 22:52:07 +0200
Hi Edgar,
I know this problem came up before and you quickly had a solution for this:
Since using your latest PDF class, the PDF's that are created with this
class are now 3-4 times the size it used to be. Is there perhaps a
compression parameter or technique that can be used to make the sizes of
the PDF smaller like it used to be?
I am typically using it to create statements with jpg logos that gets
imbedded with the PDF that are sent out via email and if the sizes are too
big, like 2-3 MB, then it becomes unpractical to send mass statements out
this way.

Many thanks,
Ben
Edgar Borger Re: PDF file size
on Wed, 25 Aug 2010 14:04:51 -0300
Hi Ben,

can you send me some sample ?
My tests here show that using JPG files there is almost no compression 
at all, creating a pdf with only 1 jpg in it results in the same size as 
the original jpg file, which is correct, since jpg are already 
compressed files, they cannot be compressed a second time.
Are you using other image types (bmp, png etc) ?

I will keep running some more tests here, and see if I can come to 
better results.

Regards,
Edgar


Em 24/8/2010 17:52, Ben Bodenstein escreveu:
> Hi Edgar,
> I know this problem came up before and you quickly had a solution for this:
> Since using your latest PDF class, the PDF's that are created with this
> class are now 3-4 times the size it used to be. Is there perhaps a
> compression parameter or technique that can be used to make the sizes of
> the PDF smaller like it used to be?
> I am typically using it to create statements with jpg logos that gets
> imbedded with the PDF that are sent out via email and if the sizes are too
> big, like 2-3 MB, then it becomes unpractical to send mass statements out
> this way.
>
> Many thanks,
> Ben
Edgar Borger Re: PDF file size
on Wed, 25 Aug 2010 14:58:39 -0300
Hi Ben,

just uploaded new version to http://www.borger.com.br/softsupply

this new version now has another parameter to the :Image() method, like 
this :

oPdf:Image( nInitialLine, nInitialColumn, nFinalLine, nFinalColumn, 
cImagefile, lProportional, nCompression)

where cCompression is a number, from 0 to 100, defining the level of 
compression to be used in the image file, of course the more compressed 
the image is, less quality will be there.

run some tests, and let me know the results.

Thanks and regards,
Edgar


Em 24/8/2010 17:52, Ben Bodenstein escreveu:
> Hi Edgar,
> I know this problem came up before and you quickly had a solution for this:
> Since using your latest PDF class, the PDF's that are created with this
> class are now 3-4 times the size it used to be. Is there perhaps a
> compression parameter or technique that can be used to make the sizes of
> the PDF smaller like it used to be?
> I am typically using it to create statements with jpg logos that gets
> imbedded with the PDF that are sent out via email and if the sizes are too
> big, like 2-3 MB, then it becomes unpractical to send mass statements out
> this way.
>
> Many thanks,
> Ben