[ https://issues.apache.org/jira/browse/IMAGING-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975950#comment-16975950 ]
Bruno P. Kinoshita commented on IMAGING-233: -------------------------------------------- Hi David, Could you share your code, please? The following worked for me. {code:java} List<BufferedImage> images = Imaging.getAllBufferedImages(new File("/home/kinow/Downloads/imaging/favicon.ico")); System.out.println(images); {code} Resulted in: {noformat} [BufferedImage@e9e54c2: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 16 height = 16 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0, BufferedImage@65ab7765: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 32 height = 32 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0] {noformat} Using the favicon from the URL you provided. Cheers Bruno > Unable to parse most web icons (favicon.ico) > -------------------------------------------- > > Key: IMAGING-233 > URL: https://issues.apache.org/jira/browse/IMAGING-233 > Project: Commons Imaging > Issue Type: Wish > Components: Format: ICO > Affects Versions: 1.0-alpha1 > Reporter: David Li > Priority: Major > > I am unable to use 1.0-alpha1 to process a vast majority of icons on the web, > i.e. [https://www.google.com/favicon.ico]. Attempting to do so results in > `org.apache.commons.imaging.ImageReadException: Can't parse this format`. > > `file` identifies these icons as "MS Windows icon resource - 2 icons, 16x16, > 32 bits/pixel, 32x32, 32 bits/pixel" -- This message was sent by Atlassian Jira (v8.3.4#803005)