You don't have to upgrade but you'll have to call com.lowagie.text.pdf.codec.PngImage to read it. Support for Image.getInstance() with this codec came later.

----- Original Message ----- From: "Schneider Christian S. (KBIB 21)" <[EMAIL PROTECTED]>
To: "Paulo Soares" <[EMAIL PROTECTED]>
Sent: Wednesday, November 30, 2005 7:36 AM
Subject: RE: [iText-questions] Exception Byte array Colortype 6 is not suported


Our Version is r0.99 - paulo118

Thanks

Christian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paulo
Soares
Sent: Tuesday, November 29, 2005 4:48 PM
To: Schneider Christian S. (KBIB 21)
Cc: [email protected]
Subject: RE: [iText-questions] Exception Byte array Colortype 6 is not
suported

There's no version 1.1.1.1 2004/06/22. The first time full support for
PNG was published was in version 0.99 2003-05-01. You can get the
version by looking at a generated pdf in the properties or by calling
Document.getVersion().

-----Original Message-----
From: Schneider Christian S. (KBIB 21)
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 2:55 PM
To: Paulo Soares
Subject: RE: [iText-questions] Exception Byte array Colortype
6 is not suported

We are using the Version 1.1.1.1 2004/06/22.
Is ther an other solution except to make an update?


-----Original Message-----
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 3:13 PM
To: Schneider Christian S. (KBIB 21);
[email protected]
Subject: RE: [iText-questions] Exception Byte array Colortype 6 is not
suported

You must be using a very old iText version.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Christian
> Sent: Tuesday, November 29, 2005 8:11 AM
> To: [email protected]
> Subject: [iText-questions] Exception Byte array Colortype 6
> is not suported
>
> Hi
> I am loading a png Image which works fine. But when I
> do the following in a Method
>
> setLogo() {
>   ......
>   ......
>   ......
>   ct.setSimpleColumn(llx, lly, urx, ury, leading,
Element.ALIGN_LEFT);
>   ct.addText(new Chunk(bean.getLogo(), offsetX, offsetY));
>   int returnCode = ct.go();
>   if(bean.getBusinessUnit().equals("0012") &&
> writer.getPageNumber() == 1){
>     String pbText = "Private Banking";
>     ct.setSimpleColumn(new Phrase(pbText, headerFont1), llx,
> lly, urx -17,ury
>     - 30, leading, Element.ALIGN_RIGHT);
>   returnCode = ct.go(); // in this Line the Exciption is thrown
> }
>
> com.lowagie.text.DocumentException:Byte array Colortype6 is
> not supported
>
> thanks in advance
>
> Christian
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep
> through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.
> DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to