Skip to content

cur file saved as a png has black pixels where it needs to be transparent #9637

Description

@mmemoo

its a really easy-to-reproduce issue, just run this code with the file i attached in Pillow 12.1.0 :

from PIL import Image

im = Image.open("aero_unavail.cur")
im.save("aero_unavail.png")

(the file is provided as a txt file since github doesn't allow cur files to be uploaded, just change the extension.)

aero_unavail.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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