Skip to content

Using tcltk to display jpeg images

2 messages · Jonathan Williams, Philippe GROSJEAN

#
Dear R Helpers,

Does anyone know how to use tcltk to display jpeg images? The manual says
that
one must use Tk_PhotoCreateImageFormat to register the jpeg image handler.
The
"ActiveTcl User Guide"
(http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html)
says:-

"The package img::jpeg is a sub-package of Img. It can be loaded as a part
of the complete
Img support, via package require Img, or on its own, via package require
img::jpeg"

I downloaded the tkimg1.3 file from
http://kent.dl.sourceforge.net/sourceforge/tkimg/tkimg1.3.zip,
but I cannot figure out how to 'build' the files to link them to R.

Would someone be so kind as to tell me how to do this? Better still, does
anyone have an R routine
that will do it, since I have no experience of this kind of programming.

Thanks, in advance,

Jonathan Williams
#
Hello,

You have to tell us on which platform you want to install the Tcl img 
package. If it is Windows, I can help.
Best,

Philippe

..............................................<??}))><........
  ) ) ) ) )
( ( ( ( (    Prof. Philippe Grosjean
  ) ) ) ) )
( ( ( ( (    Numerical Ecology of Aquatic Systems
  ) ) ) ) )   Mons-Hainaut University, Pentagone (3D08)
( ( ( ( (    Academie Universitaire Wallonie-Bruxelles
  ) ) ) ) )   8, av du Champ de Mars, 7000 Mons, Belgium
( ( ( ( (
  ) ) ) ) )   phone: + 32.65.37.34.97, fax: + 32.65.37.30.54
( ( ( ( (    email: Philippe.Grosjean at umh.ac.be
  ) ) ) ) )
( ( ( ( (    web:   http://www.umh.ac.be/~econum
  ) ) ) ) )          http://www.sciviews.org
( ( ( ( (
..............................................................
Jonathan Williams wrote: