TIP 714: Information command on tk image photo drivers

Login
Author:         Harald Oehlmann <[email protected]>
State:          Draft
Type:           Project
Created:        04-Mar-2025
Tcl-Version:    9.1
Tk-Branch:     tip-714-image-driver-info
Keywords:       photo

Abstract

This TIP proposes to add a command to inform about the tk image (photo) drivers and their capabilities.

Background

If a driver is present, it may be accessed directly by the -format option.

Rationale

Use cases are to check in advance if a certain file may be loaded or saved. Also, the possible operations may be found.

Specification

Todo

Compatibility

No incompatibilities.

Reference Implementation

A reference impementation can be found in Tk branch tip-714-image-driver-info.

Copyright

This document has been placed in the public domain.