CMYKColor can be defined with int with a range of 0-255 or with float with a 
range 0-1. It looks like you defined the int 76 that corresponds to 
76/255=0.298. If you want to define 76% use 0.76f or 194.

Paulo

> -----Original Message-----
> From: Hugo Flambó [mailto:hfla...@gmail.com] 
> Sent: Friday, October 09, 2009 12:38 PM
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] CMYKColor on iText bug? 
> PHOTOSHOP says it is a different color!
> 
> Just to add PDF generated sample
> 
> On Fri, Oct 9, 2009 at 12:25 PM, Hugo Flambó 
> <hfla...@gmail.com> wrote:
> > I use the iText AcroForms and AcroFields to fill it somo 
> content from iText
> > I define the color:
> >
> > CMYKColor(0,76,76,70) and generated PDF seams to be ok but 
> when I open
> > the generated PDF on Photoshop it says that the color is
> > CMYK(0,30,30,27) and the print result is not the one expected.
> >
> > Can someone help me and try to reproduce this issue? This 
> seams to me
> > to be a bug...
> >
> > Thanks in advance!
> >
> > BR
> >
> > Hugo
> >
> 

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.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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
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/

Reply via email to