PlanetJava
Custom Search

java-lib-itext-general
[Top] [All Lists]

Re: PDF Colorspace

Subject: Re: PDF Colorspace
Date: Sun, 29 Aug 2010 14:32:36 -0700
A PDF does not have a single colorspace.  There are 11 different ways to 
represent colors in PDF and they can be intermixed on each page, let alone 
across pages.
If you wish to use "old school" color - then you need to handle that entirely 
yourself.
From: Cory Isaacson [mailto:[email protected]]
Sent: Saturday, August 28, 2010 6:50 PM
To: [email protected]
Subject: [iText-questions] PDF Colorspace
If I create a PDF which embeds images that are CMYK, then the generated PDF is 
also CMYK (what I want). In other cases, when I just have text in a PDF, it 
generates as RGB. Can I use setDefaultColorspace(PdfName.DeviceCMYK, null) to 
ensure its always CMYK?
Cory
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • PDF Colorspace
    • PDF Colorspace
      • Re: PDF Colorspace,
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy