I think it would be way easier to use a PDF printer with grayscale setting 
to accomplish your requirement. I don't know if its possible, but you try 
to use the OpenOffice UNO API to load and convert the PDF.

Best regards
Benjamin



Leonard Rosenthol <leona...@pdfsages.com> 
11.02.2009 20:13
Bitte antworten an
Post all your questions about iText here 
<itext-questions@lists.sourceforge.net>


An
Post all your questions about iText here 
<itext-questions@lists.sourceforge.net>
Kopie

Thema
Re: [iText-questions] IText converting a PDF in colors to grayscale






There is nothing built into iText to accomplish this.  You will need to 
write the logic yourself, relying on iText to parse & manipulate the PDF 
data structures while also using something like JAI to address images.

Leonard

On Wed, Feb 11, 2009 at 1:14 PM, Guillaume Guillaume <
guillaume.m...@gmail.com> wrote:
Hi folks, 
 
 
I'm losing my energy to find how to convert an existing PDF in colors to 
grayscale with IText, but I can't find the solution. 
I tried to manipulate it with PDFStamper, tried to find any solution in 
the web or int the API, but failed.
 
 
Someone know how to make it ? would be helpful ... 
 
Best regards,
G.
 

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with 
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code 
to
build responsive, highly engaging applications that combine the power of 
local
resources and data with the reach of the web. Download the Adobe AIR SDK 
and
Ajax docs to start building applications today-
http://p.sf.net/sfu/adobe-com
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with 
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code 
to
build responsive, highly engaging applications that combine the power of 
local
resources and data with the reach of the web. Download the Adobe AIR SDK 
and
Ajax docs to start building applications 
today-http://p.sf.net/sfu/adobe-com_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php





____________________________________________________________________

Viessmann IT Service GmbH
Geschäftsführer: Dirk Klöckner, Dr. Harald Dörnbach
Sitz der Gesellschaft: Allendorf (Eder) - Registergericht: 
AG Marburg (Lahn) - HRB 5324 - USt-IdNr.: DE258558424
____________________________________________________________________
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to