Add tutorial images by aclark4life · Pull Request #8246 · python-pillow/Pillow

Comment on lines +418 to +419

.. image:: transformed_hopper.jpg
:align: center

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from PIL import Image
im = Image.open("Tests/images/hopper.png")
out = im.point(lambda i: i * 1.2)
out.save("transformed_hopper.jpg")

gives me

transformed_hopper

Yours looks different?
transformed_hopper_pr

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.