MantisBT - LibNSBMP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002639 | LibNSBMP | [All Projects] General | public | 2019-03-19 22:46 | 2019-05-06 14:48 |
Reporter | grim | ||||
---|---|---|---|---|---|
Assigned To | Michael Drake | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | OS | OS Version | |||
Fixed in CI build # | |||||
Reported in CI build # | |||||
Summary | 0002639: The "cursor" subtype of the icon format is not recognized. | ||||
Description | Windows Icon files have two subtypes "icon" and "cursor". The only difference between them is that with "icon" values for colorplanes and bits per pixel can be defined (which are ignored by libnsbmp from what I can see). While "cursor" has values for hotspot position (which ain't relevant in this case). So the fix is very trivial. Why this matters to me is because I use libnsbmp to decode the embedded icons in Windows Animated Cursor files. The frames can be of ether subtype. And what I do now is simply altering the byte in the header to make libnsbmp accept the "cursor" subtype. (It works but is kind of uggly.) | ||||
Additional Information | https://en.wikipedia.org/wiki/ICO_(file_format) http://fileformats.archiveteam.org/wiki/ICO http://fileformats.archiveteam.org/wiki/CUR http://fileformats.archiveteam.org/wiki/Windows_Animated_Cursor | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | libnsbmp-20190319-cur.patch (582) 2019-03-19 22:46 https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=578&type=bug |
There are no notes attached to this issue. |
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2019-03-19 22:46 | grim | New Issue | |||
2019-03-19 22:46 | grim | File Added: libnsbmp-20190319-cur.patch | |||
2019-05-06 14:48 | Michael Drake | Assigned To | => Michael Drake | ||
2019-05-06 14:48 | Michael Drake | Status | new => assigned |