Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 128255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:36:23+00:00 2026-05-11T05:36:23+00:00

Simple one I think but essentially I need to know what the syntax is

  • 0

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 :).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:36:24+00:00Added an answer on May 11, 2026 at 5:36 am

    From the PIL Handbook:

    im.save(outfile, options...)  im.save(outfile, format, options...) 

    Simplest case:

    im.save('my_image.png') 

    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 supports

    • quality
    • optimize, and
    • progressive

    with notes about each option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Probably a really simple one this - I'm starting out with C# and need
Hopefully this is a simple one, but can anyone provide some simple c# code
I have a relatively simple (I think) use-case but I can't find any examples
i think this one is simple but i cant find a good example. What
OK I know the title sounds really confusing, but really it's quite simple. Consider
This may be simple one, but 5 mins of Googling didn't give me the
Im sure this will be a simple one but have a project that started
I'm trying to figure out the best way to save a simple one-to-many relationship
Can anyone help me? I can't figure out what I am doing wrong but
Hi all this one surely is a simple one but I haven't made sense

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.