Skip to content

[Pillow 3.0.0] Wrong rotate behavior #1500

@novadev94

Description

@novadev94

I've noticed this bug today. This happens in our production server.

from PIL import Image

img = Image.new('RGB', (1, 10), 'white')
print img.rotate(-90).size

With Pillow<=2.9.0 the size supposed to be (10, 1) as the image is rotated. However with the newest version Pillow==3.0.0, the size is (1, 10).

I've gone through the Changelog and haven't seen any changes related to rotation.

Could you guys please take a look? And I'm always ready to provide extra information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions