Python Forum
[Tkinter] Saving images
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Saving images
#5
The mode 'wb' does not work with image = Image.open(filename, 'wb'). It gives me error:
Error:
ValueError: bad mode 'wb'
I want to user could write name of image and select file (using the function asksaaveasfilename) and suffix was saved according to the user's choice. Now suffix has to be write by user.
[Image: choice.png]
Reply


Messages In This Thread
Saving images - by Christina - Sep-13-2019, 12:55 PM
RE: Saving images - by Larz60+ - Sep-13-2019, 01:10 PM
RE: Saving images - by Christina - Sep-13-2019, 01:38 PM
RE: Saving images - by Larz60+ - Sep-14-2019, 03:16 AM
RE: Saving images - by Christina - Sep-14-2019, 09:40 PM
RE: Saving images - by Larz60+ - Sep-14-2019, 10:00 PM
RE: Saving images - by Larz60+ - Sep-14-2019, 10:06 PM
RE: Saving images - by Christina - Sep-15-2019, 06:26 PM
RE: Saving images - by Larz60+ - Sep-16-2019, 12:37 AM
RE: Saving images - by buran - Sep-16-2019, 07:02 AM
RE: Saving images - by Christina - Sep-16-2019, 05:59 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020