Skip to content

[ bug ] getbbox() #4453

@chiboreache

Description

@chiboreache

Simply won't crop exactly that image, meanwhile with others works fine.

When i move image slightly to right in GIMP and save - it is works again, plain resaving with gimp png defaults - does not helps.

  • OS: Arch Linux Linux 5.4.22-1-lts
  • Python: 3.8.1
  • Pillow: community/python-pillow 6.2.1-1
	from PIL import Image
    png_path = './22-108-20179696.png'
    im = Image.open(png_path)
    im = im.crop(im.getbbox())
    im.save('./test.png')

22-108-20179696

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