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 change the output image file name? #22

Closed
3y3y3y opened this issue Jun 25, 2018 · 2 comments
Closed

how to change the output image file name? #22

3y3y3y opened this issue Jun 25, 2018 · 2 comments

Comments

@3y3y3y
Copy link

3y3y3y commented Jun 25, 2018

Hello! I am using your pdf2image and I find it a little bit uncomfortable that the file name of output image is kind of difficult to read and identify. Where can I find the place to modify the output file format?
Thank you very much!

@Belval
Copy link
Owner

Belval commented Jun 25, 2018

I am not quite sure why you'd want to manipulate the images, in practice, convert_from_path/convert_from_bytes will return a list of PIL image objects and you can save them wherever you want under the name convention you'd prefer.

The filename of the output images in the output folder is there to allow multithreading and prevent collision with pre-existing files in the same folder it might lead to unexpected behavior if such freedom was given in the filenames.

Please tell me if this explanation is satisfactory for you.

@Belval
Copy link
Owner

Belval commented Aug 30, 2018

Closing for lack of response.

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