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

Reply via email to