Simple one I think but essentially I need to know what the syntax is for the save function on the PIL. The help is really vague and I can’t find anything online. Any help’d be great, thanks :).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the PIL Handbook:
Simplest case:
or whatever. In this case, the type of the image will be determined from the extension. Is there a particular problem you’re having? Or specific saving option that you’d like to use but aren’t sure how to do so?
You may be able to find additional information in the documentation on each filetype. The PIL Handbox Appendixes list the different file types that are supported. In some cases, options are given for
save. For example, on the JPEG file format page, we’re told that save supportsqualityoptimize, andprogressivewith notes about each option.