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

How to get an Image object ? #246

Open
Laxmi530 opened this issue Nov 3, 2022 · 1 comment
Open

How to get an Image object ? #246

Laxmi530 opened this issue Nov 3, 2022 · 1 comment

Comments

@Laxmi530
Copy link

Laxmi530 commented Nov 3, 2022

Hai,
Thank you for providing such a beautiful library.
I have gone through the PyPi site and github README.MD file. I wanted to convert pdf into an image and wanted to store the image into a variable as an object not in memory. When we check the variable type, it should return <class 'PIL.Image.Image'>.
Can someone please guide me how to do.

Thanking you in advance.

@Belval
Copy link
Owner

Belval commented Nov 4, 2022

All the APIs in pdf2image will return a list of PIL Image object. If you follow the example in the README.md you should get exactly what you want.

Hope that helps.

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