This is something that I'll have to fix.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Allen Ziegenfus
> Sent: Tuesday, July 17, 2007 10:51 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Adding monochrome image as gray
>
> We are looking at moving a bunch printing code from Postscript to PDF.
> We have a large set of monochrome CCITT TIFF images that are used on
> various documents. Some of these images need to be screened to appear
> gray. In Postscript I was able to accomplish this by adding a
> Decode to
> the image attributes like this:
>
> /Decode [GrayScaleValue 1.0]
>
> Our RIP then sees the gray and does its screening algorithm.
>
> I see that PDF also supports /Decode and I was able to insert
> a line of
> code into PdfImage.cs that does the job as follows.
>
> Put(PdfName.DECODE, new PdfLiteral("[0.5 1.0]"));
>
> Is there any "official" way to have iTextSharp output that or should I
> perhaps be thinking about this in a different way? I tried playing
> around with the "Additional" PDFDictionary object that you
> can set on an
> image, but the PdfImage.cs code bypasses that for CCITT images.
>
> Allen
>
>
> DISCLAIMER:
> This transmission contains information from Custom Direct,
> Inc. which may be confidential and/or privileged. The
> information is intended to be for the exclusive use of the
> planned recipient. If you are not the intended recipient, be
> advised that any disclosure, copying, distribution or other
> use of this information is strictly prohibited. If you have
> received this transmission in error, please notify the sender
> immediately.
>
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
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.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/