> -----Original Message-----
> From: Mike Marchywka [mailto:[email protected]]
> Sent: Thursday, February 11, 2010 12:12 PM
> To: [email protected]
> Subject: Re: [iText-questions] FW: Mail to iTextSharp
>
>
>
>
>
>
>
>
> ----------------------------------------
> > Date: Thu, 11 Feb 2010 08:25:24 +0100
> > From: [email protected]
> > To: [email protected]
> > Subject: Re: [iText-questions] FW: Mail to iTextSharp
> >
> > suphat phuenpha wrote:
> >> If I want to convert a color PDF files to black and white or gray.
> >> What can I do that ?
> >
> > You can't.
>
>
> Isn't this just a matter of finding all the color tables or
> models and changing them to grey?
No. There's a lot of colorspaces in a PDF and there's not a single way to
convert from them to grey, a bit better with color profiles. Then there's the
images that must be also converted. Then there's transparency and the several
ways that colors can be blended that won't work the same way in grey.
> When you say can't you mean there is nothing in the API that
> does this in a few lines
That's it.
> or it is fundamentally impossible ( without say rendering to
> pixels and makes new PDF pages out
> of color-modified pixels)?
>
It's possible but difficult and only commercial apps can do it. The same with
color separations.
Paulo
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
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/