Hi Bruno,

        just now i updated from paulo-151 to 1.2.2. In my program, i set
writer.setPDFXConformance(PdfWriter.PDFX32002). Now i get following
exception:

 DocumentException:
 com.lowagie.text.pdf.PdfXConformanceException: The /SMask key is not
allowed in images.
     at com.lowagie.text.pdf.PdfWriter.checkPDFXConformance(Unknown Source)
     at com.lowagie.text.pdf.PdfWriter.add(Unknown Source)
     at com.lowagie.text.pdf.PdfWriter.addDirectImageSimple(Unknown Source)
     at com.lowagie.text.pdf.PdfContentByte.addImage(Unknown Source)
     at com.lowagie.text.pdf.PdfContentByte.addImage(Unknown Source)

I read the image from a BufferedImage:

img = com.lowagie.text.Image.getInstance(imgFrame.getBufferedImage(url),
                                                     null);

During debugging i see the smask-flag from the img is true, but why? There
is no transparency in the image, and in earlier versions the flag was
correctly false.

Best regards,

Martin



-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Bruno
Lowagie
Gesendet: Montag, 31. Januar 2005 10:57
An: '[email protected]'
Betreff: [iText-questions] iText 1.2.2

Hello all, iText 1.2.2 was released!
It is based on Paulo's release 151 and it adds 3 bugfixes.
2 of them posted last weekend, 1 old bug posted (and fixed) at sourceforge
in december [ bug # 1084590 ]. I think it was closed by accident.
http://www.lowagie.com/iText/
br,
Bruno


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool
for open source databases. Create drag-&-drop reports. Save time by over
75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to