I created a PDF that has two images, created from .tiff files and the
resulting PDF is roughly 50K.  I then converted the .tiff files to .png
and recreated the same PDF, which is now 70K.  Yet, the file size of the
image itself decreased significantly when converting to PNG.

Image1.png =  41.6K
Image1.tif = 113.9K

Image2.png =  36.5K
Image2.tif = 139.5K

Yet the PDF created using the PNG is 20K larger?!?!  How did that
happen?

Jason

Image first = Image.getInstance(imageDir + "/First96.png");
first.scalePercent(72f / 96 * 100, 72f / 96 * 100);

Image first = Image.getInstance(imageDir + "/First96.tif");
first.scalePercent(72f / 96 * 100, 72f / 96 * 100);

***This is a transmission from Purdue Employees Federal Credit
Union (PEFCU) and is intended solely for its authorized
recipient(s), and may contain information that is confidential
and or legally privileged.  If you are not an addressee, or the
employee or agent responsible for delivering it to an addressee,
you are hereby notified that any use, dissemination,
distribution, publication or copying of the information 
contained
in this email is strictly prohibited. If you have received this
transmission in error, please notify us by telephoning (765)
497-3328 or returning the email. You are then instructed to
delete the information from your computer.  Thank you for your
cooperation.***


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to