Bitmap/PPM conversion through a pipe: Difference between revisions

Replaced "initImage" by "newImage" (change in "bitmap.nim" interface).
(Replaced full paths by simple executable names (use PATH).)
(Replaced "initImage" by "newImage" (change in "bitmap.nim" interface).)
Line 196:
 
# Build an image.
var image = initImagenewImage(100, 50)
image.fill(color(255, 0, 0))
for row in 10..20:
Anonymous user