commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damjan Jovanovic (JIRA)" <>
Subject [jira] Updated: (SANSELAN-40) Improve ICO file support
Date Thu, 02 Sep 2010 19:17:53 GMT


Damjan Jovanovic updated SANSELAN-40:

    Attachment: sanselan-ico.patch

New version of the patch. The patch now:
Uses only the BITMAPINFOHEADER to parse the icon (using the ICONDIRENTRY is wrong and the
tests included prove it)
Adds support for writing ICO files
Adds support for reading 16 BPP ICO files
Adds support for compressed bitmaps
Adds support for the Windows Vista (and later) PNG ICO format
Verifies crucial fields in ICO files
Adds extensive tests

In fact the only feature now missing is support for the alpha channel in 32 BPP bitmaps, and
that is something that needs to be added to BmpImageParser along with support for BITMAPV4HEADER/BITMAPV5HEADER

> Improve ICO file support
> ------------------------
>                 Key: SANSELAN-40
>                 URL:
>             Project: Commons Sanselan
>          Issue Type: Improvement
>         Environment: Sanselan, Java on any OS
>            Reporter: Damjan Jovanovic
>            Priority: Minor
>         Attachments: sanselan-better-ico.patch, sanselan-ico.patch
>   Original Estimate: 0h
>  Remaining Estimate: 0h
> I am submitting a patch that improves Sanselan's ICO format support. It adds:
> 1. Support for Windows Vista ICO files with embedded PNGs
> 2. Support for 256x256 icons (reported as 0x0)
> 3. Support for top-down and bottom-up bitmaps

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message