These functions read image files on disk and create Tk image resources.
tkImgAdd(file, type = "gif", update = FALSE)
tkImgDel(image)
tkImgRead(dir, type = "gif")
image file from where to download the resource.
type of image. Currently, only 'gif' is supported.
do we update an already loaded image resource, or not?
name of an image.
the directory that contains one or more image files to read.
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.
These functions should not be called directly, but by means of
imgAdd()
, imgDel()
or imgRead()
.