Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support opening images by path #108

Open
RealOrangeOne opened this issue Mar 10, 2023 · 1 comment
Open

Feature: Support opening images by path #108

RealOrangeOne opened this issue Mar 10, 2023 · 1 comment

Comments

@RealOrangeOne
Copy link
Member

Currently, Willow requires a file-like object to construct an image. Pillow itself (and Willow when using the Pillow backend) support opening files by path, which can be much more convenient.

@Pistonamey
Copy link

Pistonamey commented Mar 20, 2023

Hello, Myself Amey Shinde, I have previously worked with Willow and Pillow. I would like to work on this issue. However, I had a question: Do we not want to open the image (path) as a Pillow object, convert it to a Willow object and then perform willow operations on the converted willow object?

I have written a program that takes a path, opens the image as a pillow object, and then converts it to a willow object. I also perform some willow operations like resizing the image using the converted willow object and saving the file, which works successfully.

I would like to work on the issue. So, I request you assign this issue to me.

Original Image (1920x1080):
Screenshot (1718)

Image after resizing (400x400):
Screenshot (1719)

With regards,
Amey Shinde.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants