tkImg {svWidgets}R Documentation

Manipulate image resources for Tcl/Tk GUIs

Description

These functions read image files on disk and create Tk image resources.

Usage

tkImgAdd(file, type = "gif", update = FALSE)
tkImgDel(image)
tkImgRead(dir, type = "gif")

Arguments

file Image file from where to download the resource
type Type of image. Currently, only 'gif' is supported.
update Do we update an already loaded image resource, or not?
image Name of an image
dir The directory that contains one or more image files to read

Details

These functions should not be called directly, but by means of ImgAdd(), ImgDel() or ImgRead().

Value

tkImgAdd() returns the handle to the newly created image invisibly. tkImgDel() returns invisibly TRUE if the resource is found and deleted, FALSE otherwise. tkImgRead() returns invisibly the list of image files that are imported as resources.

Author(s)

Philippe Grosjean

See Also

ImgAdd, ImgDel, ImgRead


[Package svWidgets version 0.9-40 Index]