RosettaCodeData/Task/Bitmap/00DESCRIPTION

18 lines
720 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
{{omit from|AWK}}
2015-02-20 00:35:01 -05:00
{{omit from|PARI/GP}}
2017-09-23 10:01:46 +02:00
2015-02-20 00:35:01 -05:00
Show a basic storage type to handle a simple RGB raster graphics image,
and some primitive associated functions.
2013-04-10 16:19:29 -07:00
2015-02-20 00:35:01 -05:00
If possible provide a function to allocate an uninitialised image,
given its width and height, and provide 3 additional functions:
2013-04-10 16:19:29 -07:00
* one to fill an image with a plain RGB color,
* one to set a given pixel with a color,
* one to get the color of a pixel.
(If there are specificities about the storage or the allocation, explain those.)
2015-02-20 00:35:01 -05:00
''These functions are used as a base for the articles in the category [[Raster_graphics_operations|raster graphics operations]],
and a basic output function to check the results
is available in the article [[write ppm file]].''