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
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.)
865082 was a dup of this; upping prio