Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Problem rotating P images #5643

@LatentLinker

Description

@LatentLinker
from PIL import Image
import random

img = Image.open('test.png')
rate = random.randint(30, 330)
img = img.rotate(rate)
img.show()
img.save('test_rotate.png')

test
test_rotate

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions