[ https://issues.apache.org/jira/browse/BATIK-1383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010160#comment-18010160 ]
Carte Project commented on BATIK-1383: -------------------------------------- I just checked one of the sample images, it fails because Batik only supports the image in the {{data:}} URL to be either in the RGB color model or expressed in the JDK built-in linear gray color space, while the embedded JPEG image is in the CMYK space. > Error transcoding specific svgs > ------------------------------- > > Key: BATIK-1383 > URL: https://issues.apache.org/jira/browse/BATIK-1383 > Project: Batik > Issue Type: Bug > Components: Utilities > Affects Versions: 1.17 > Environment: Windows 11 > Reporter: Melanie Traynor > Priority: Major > Attachments: 2025-07-21_14-25-35.png, a117786.jpg, a117786.svg, > a117926.svg > > > We are using batik to transcode 2 svgs using the PNGTranscoder but it > ultimately fails with an error thrown from java.awt.ColorSpace > 'java.lang.IllegalArgumentException: Component index out of range: 3' > > I have attached the svgs and the stack trace of the source code at the time > of exception. Please let us know if this is a bug or an issue with the data. > The svgs display successfully in other tools. > I tried with Batik 1.19 too but get the same issue. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org