Bitmap/PPM conversion through a pipe: Difference between revisions

→‎{{header|Tcl}}: link to tcllib library
m (→‎{{header|C}}: need to specify _POSIX_C_SOURCE=2 in order to get this compiled with -std=c99)
(→‎{{header|Tcl}}: link to tcllib library)
Line 69:
Referring to [[Write ppm file#Tcl]] and [[Basic bitmap storage#Tcl]]
 
Uses the [http://tkimg.sourceforge.net/ {{libheader|TkImg] package}}, which is bundled with many Tcl distributions.
<lang tcl>package require Tk
package require img::jpeg
Anonymous user