Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image conversion
#1
i'm thinking about the design of a (my first) GUI program. this program will need to read image files and display some or all of an image in some or all of the space in the window it is working in (or whole screen if that is chosen by the user). what i am wonder about right now is how to read in various image file formats. i would guess there would be an API to open the image file and read blocks of pixels in some order (probably the order they are stored in the file). is there a package for Python3 that can uncompress and read GIF, JPEG, and PNG formats? more formats is a plus but those three are absolutely needed. it is a big plus if the image reading API is the same (relative to the open image object) for all formats. e.g. i want to avoid separate packages and different APIs for different image formats (but if i have to, it's not a show stopper). an API that can open many files concurrently is a big plus (i might have to store many small image, otherwise). an API that can open output files for image writing, with image compression for the specified format, is a plus. an API that supports video is also a minor plus. support for opening an I/O object in place of a file is a big plus (most packages i have seen, of late, can do this, and specifying the image file format might be required for reading).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
image conversion - by Skaperen - Sep-18-2023, 02:27 AM
RE: image conversion - by Gribouillis - Sep-18-2023, 06:23 AM
RE: image conversion - by Skaperen - Sep-18-2023, 10:39 PM
RE: image conversion - by Skaperen - Sep-19-2023, 12:09 AM
RE: image conversion - by carecavoador - Sep-19-2023, 10:29 AM
RE: image conversion - by Skaperen - Sep-20-2023, 12:49 AM
RE: image conversion - by Larz60+ - Sep-20-2023, 04:54 AM
RE: image conversion - by Skaperen - Sep-20-2023, 07:29 PM

Forum Jump:

User Panel Messages

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