java.lang.RuntimeException

com.itextpdf.text.exceptions.UnsupportedPdfException: The color depth 1 is not supported.

Solutions on the web24260

  • com.itextpdf.text.exceptions.UnsupportedPdfException: The color depth 1 is not supported.
  • via GitHub by dogo
    , 1 year ago
    Jpcsp cannot display. The cause could be that you are using an old graphic card driver (try to update it) or your display format is not compatible with Jpcsp (try to change your display format, Jpcsp requires 32 bit color depth) or the anti-aliasing settings is not supported by your display (leave the Jpcsp anti-aliasing to its default setting)
  • The database Unknown DBMS is not supported.
  • Stack trace

    • java.lang.RuntimeException: com.itextpdf.text.exceptions.UnsupportedPdfException: The color depth 1 is not supported. at com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpRenderListener.renderImage(PdfCleanUpRenderListener.java:85) at com.itextpdf.text.pdf.parser.PdfContentStreamProcessor$ImageXObjectDoHandler.handleXObject(PdfContentStreamProcessor.java:967) at com.itextpdf.text.pdf.parser.PdfContentStreamProcessor.displayXObject(PdfContentStreamProcessor.java:314) at com.itextpdf.text.pdf.parser.PdfContentStreamProcessor.access$5000(PdfContentStreamProcessor.java:60) at com.itextpdf.text.pdf.parser.PdfContentStreamProcessor$Do.invoke(PdfContentStreamProcessor.java:913) at com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpContentOperator.invoke(PdfCleanUpContentOperator.java:75) at com.itextpdf.text.pdf.parser.PdfContentStreamProcessor.invokeOperator(PdfContentStreamProcessor.java:248) at com.itextpdf.text.pdf.parser.PdfContentStreamProcessor.processContent(PdfContentStreamProcessor.java:354) at com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpProcessor.cleanUpPage(PdfCleanUpProcessor.java:78) at com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpProcessor.cleanUp(PdfCleanUpProcessor.java:53) at com.capsilon.katalyst.packager.util.StampingUtil.drawRedaction(StampingUtil.java:371) at com.capsilon.katalyst.packager.util.PageUtil.getPages(PageUtil.java:278) at com.capsilon.katalyst.packager.util.PageUtil.getPages(PageUtil.java:132) at com.capsilon.katalyst.packager.delivery.DeliveryPackager.fetchPages(DeliveryPackager.java:482) at com.capsilon.katalyst.packager.delivery.DeliveryPackager.doPDFPackaging(DeliveryPackager.java:188) at com.capsilon.katalyst.packager.delivery.handler.EmailDeliveryRequestProcessor.doProcessing(EmailDeliveryRequestProcessor.java:42) at com.capsilon.katalyst.packager.delivery.StandardPackagingTask.doDeliveryPackagingRequestProcessing(StandardPackagingTask.java:100) at com.capsilon.katalyst.packager.delivery.DeliveryPackagerRequestListener.processMessage(DeliveryPackagerRequestListener.java:80) at com.capsilon.commons.jms.MessageListener.run(MessageListener.java:157) Caused by: com.itextpdf.text.exceptions.UnsupportedPdfException: The color depth 1 is not supported. at com.itextpdf.text.pdf.parser.PdfImageObject.decodeImageBytes(PdfImageObject.java:315) at com.itextpdf.text.pdf.parser.PdfImageObject.<init>(PdfImageObject.java:200) at com.itextpdf.text.pdf.parser.PdfImageObject.<init>(PdfImageObject.java:169) at com.itextpdf.text.pdf.parser.ImageRenderInfo.prepareImageObject(ImageRenderInfo.java:124) at com.itextpdf.text.pdf.parser.ImageRenderInfo.getImage(ImageRenderInfo.java:114) at com.itextpdf.text.pdf.pdfcleanup.PdfCleanUpRenderListener.renderImage(PdfCleanUpRenderListener.java:63)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.