Xojo Conferences
XDCMay2019MiamiUSA

[MBS] DynaPDF: manage image quality (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] DynaPDF Question
Next thread: [MBS] Possible bug in DynaPDF


Re: [MBS] MBS Icon Routines redefined?   -   Garth Hjelte
  [MBS] DynaPDF: manage image quality   -   Sergio Tamborini
   Re: [MBS] DynaPDF: manage image quality   -   Sergio Tamborini
   Re: [MBS] DynaPDF: manage image quality   -   Christian Schmitz

[MBS] DynaPDF: manage image quality
Date: 20.04.11 06:36 (Wed, 20 Apr 2011 07:36:16 +0200)
From: Sergio Tamborini
I draw an A4 format pdf. It works all ok (thanks to your precious helps), but to be perfect I have this question:

I draw a background image that when I print on my printer it has a good quality, but when I draw on the pdf (dynapdfgraphics) is like a hi compressed jpg. Can I manage the compression or the quality?

I use the DynaPDFGraphics.Drawpicture function...

Thanks a lot!

------

Sergio Tamborini
Brescia
http://www.system-i.it



_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] DynaPDF: manage image quality
Date: 20.04.11 11:27 (Wed, 20 Apr 2011 12:27:32 +0200)
From: Sergio Tamborini
Thanks! Good!

Il giorno 20/apr/2011, alle ore 10.37, Christian Schmitz ha scritto:

>
> Am 20.04.2011 um 07:36 schrieb Sergio Tamborini:
>
>> I draw an A4 format pdf. It works all ok (thanks to your precious helps), but to be perfect I have this question:
>>
>> I draw a background image that when I print on my printer it has a good quality, but when I draw on the pdf (dynapdfgraphics) is like a hi compressed jpg. Can I manage the compression or the quality?
>>
>> I use the DynaPDFGraphics.Drawpicture function...
>
> After the pdf.CreateNewPDF you should set the compression options:
>
> call pdf.SetCompressionFilter(pdf.kcfFlate) // no JPEG
>
> or maybe
>
> call pdf.SetJPEGQuality(70)
>
> to set quality for JPEG to 70%.
>
> Greetings
> Christian
>
> --
> See you in Essen, Germany at the REAL Studio Conference 2011
>
> Registration and details here:
> http://www.realsoftware.de/events/realcon2011essen/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> <email address removed>
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>

------

Sergio Tamborini
Brescia
http://www.system-i.it



_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] DynaPDF: manage image quality
Date: 20.04.11 09:37 (Wed, 20 Apr 2011 10:37:19 +0200)
From: Christian Schmitz

Am 20.04.2011 um 07:36 schrieb Sergio Tamborini:

> I draw an A4 format pdf. It works all ok (thanks to your precious helps), but to be perfect I have this question:
>
> I draw a background image that when I print on my printer it has a good quality, but when I draw on the pdf (dynapdfgraphics) is like a hi compressed jpg. Can I manage the compression or the quality?
>
> I use the DynaPDFGraphics.Drawpicture function...

After the pdf.CreateNewPDF you should set the compression options:

call pdf.SetCompressionFilter(pdf.kcfFlate) // no JPEG

or maybe

call pdf.SetJPEGQuality(70)

to set quality for JPEG to 70%.

Greetings
Christian