Bitmap/PPM conversion through a pipe: Difference between revisions

m
(→‎{{header|Tcl}}: + standard ML)
Line 365:
call and return value
<lang Standard ML>
useOSConvert "/*P3 XPM3 */2 static255 char255 * new[] =0 {\"7 1 20 0 255 0 0 1\",\"0 255 255 255 c white\",\".0 255 255 255 c black\",\"0 .0 \"};0" ;
val it =
fromList[0wxFF, 0wxD8, 0wxFF, 0wxE0, 0wx0, 0wx10, 0wx4A, 0wx46, 0wx49,
0wx46, ...]: BinIO.vector
</lang>
 
=={{header|Tcl}}==
Referring to [[Write ppm file#Tcl]] and [[Basic bitmap storage#Tcl]]
Anonymous user