Menu

#51 images should have better introspection

open
7
2009-07-14
2000-11-01
No

OriginalBugID: 1529 RFE
Version: 8.1b2
SubmitDate: '1999-03-18'
LastModified: '2000-04-03'
Severity: LOW
Status: Assigned
Submitter: pat
ChangedBy: ericm
OS: Windows NT
OSVersion: 4
Machine: X86

Name:
Bryan Oakley

DesiredBehavior:
It would be really great if tk could report on the formats that it
presently knows about, and which ones can be read and which ones can be
written. This would help in the development of image handling tools, as
these programs could determine more easily what extensions to put in a
file open or save dialog.

Something along the lines of this would be nice:

image info photo read
image info photo write

(... and of course, complimentary functions for the other types; eg:
[image info bitmap read], etc..)

This should not be too difficult -- Tk already keeps track of supported formats somewhere, if memory serves.

- eric

-- 04/03/2000 ericm

Discussion

  • Donal K. Fellows

    This would be a great topic for a small TIP, and I'll second it if someone cares to write it. (You might wish to look at TIP#15 for an example in Tcl of how this sort of introspection might be performed.)

     
  • Don Porter

    Don Porter - 2001-03-25
    • labels: 104340 -->
    • milestone: 102492 -->
     
  • Don Porter

    Don Porter - 2001-03-25
    • labels: --> 39. Image Basics
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-03-02
    • assigned_to: nobody --> dkf
     
  • Donal K. Fellows

    865082 was a dup of this; upping prio

     
  • Donal K. Fellows

    • priority: 5 --> 7
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.