Hi Emad, I commited a PdfImage::SetIterpolate method. It is a nice addition.
BTW, where does the GetObjectX() call come from in your code? Which version of
PoDoFo do you use?
Cheers,
Dominik
Am Donnerstag 16 September 2010 schrieb Emad Steitieh:
> Hi,
>
> PDF has a nice feature which is image interpolation. Images look much nicer
> with interpolation in the PDF document. The image attribute is
> /Interpolate true. So I added a function to enable the interpolation in
> the PdfImage:
>
> void PdfImage::Interpolate(bool value)
> {
> GetObjectX()->GetDictionary().AddKey( "Interpolate", PdfVariant(value));
> }
>
> So by calling image->Interpolate(true); will give the nicer effect.
>
> I noticed also that the /Mask color does not work nicely with
> interpolation. When I looked at the PDF generated by Microsoft Word, I
> found that they use /SMask instead of /Mask
>
> Hope this helps
>
> Best Regards,
> Emad Steitieh
>
>
>
>
>
> ---------------------------------------------------------------------------
> --- Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
--
**********************************************************************
Dominik Seichter - [email protected]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
