File size is not chaning when I change JPEGCompression Level

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
prasadbhagwat
Posts: 2
Joined: Wed Nov 15 2006

File size is not chaning when I change JPEGCompression Level

Post by prasadbhagwat »

Hi,

I am using Amyuni PDF Converter (PDF Printer Driver) 2.51b version.

I am setting different JPEGCompression Level for one word document.

But the file size is always remains same.

For JPEGCompression Level=1 and for JPEGCompression Level=9, the file size is same.

The same code was working with Amyuni PDF Converter (PDF Printer Driver) 2.09 version

Here is the code sample.......
-------------------------------------------
PDFprinter.JPEGCompression = True

Select Case QualityValue
Case 0
PDFprinter.Resolution = 75
PDFprinter.JPegLevel = 1
Case 1
PDFprinter.Resolution = 75
PDFprinter.JPegLevel = 3
Case 2
PDFprinter.Resolution = 75
PDFprinter.JPegLevel = 5
Case 3
PDFprinter.Resolution = 75
PDFprinter.JPegLevel = 7
Case 4
PDFprinter.Resolution = 75
PDFprinter.JPegLevel = 8
Case 5
PDFprinter.Resolution = 150
PDFprinter.JPegLevel = 4
Case 6
PDFprinter.Resolution = 150
PDFprinter.JPegLevel = 7
Case 7
PDFprinter.Resolution = 150
PDFprinter.JPegLevel = 8
Case 8
PDFprinter.Resolution = 300
PDFprinter.JPegLevel = 6
Case 9
PDFprinter.Resolution = 300
PDFprinter.JPegLevel = 9
End Select
---------------------------------------------------

Will anybody help me out to resolve this issue???



Thanks in advance

Prasad Bhagwat
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

In some applications you need to call SetDefaultConfig() for the new configuration to take effect.

Hope this helps.

Joanna
prasadbhagwat
Posts: 2
Joined: Wed Nov 15 2006

Post by prasadbhagwat »

Hi,

Thanks for Reply.

But I tried that also, and that is not working.

So will you please tell me another way to do it or Amyuni changed the way in 2.51 version??


Waiting for your quick reply....


Thanks

Prasad Bhagwat
Post Reply