Oh, I just changed GetObject to GetObjectX to compile it under Windows. I also changed DrawText to DrawTextX and CreateFont to CreateFontX. Just for compilation reasons.
Regards, Emad Steitieh --- On Thu, 9/16/10, Dominik Seichter <[email protected]> wrote: > From: Dominik Seichter <[email protected]> > Subject: Re: [Podofo-users] Image Interpolation > To: [email protected] > Cc: "Emad Steitieh" <[email protected]> > Date: Thursday, September 16, 2010, 1:12 PM > 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 > ********************************************************************** > ------------------------------------------------------------------------------ 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
