Skip to content

Not able to parse particular greyscale .ico file #4911

@IowaIowa

Description

@IowaIowa

I have dumped this .ico file from ResHacker from some particular PE file. I use IcoImagePlugin.IcoImageFile but getting:

python37\lib\site-packages\PIL\Image.py:800: in frombytes
    raise ValueError("not enough image data")

when debugging it seems that it derives bpp as 8 instead of 1.
Icon4.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions