Bitmap/Write a PPM file: Difference between revisions

Content added Content deleted
(→‎{{header|C++}}: removed useless stuff and used C++ style casts)
mNo edit summary
Line 2: Line 2:
{{task|Raster graphics operations}}
{{task|Raster graphics operations}}


Using the data storage type defined [[Basic_bitmap_storage|on this page]] for raster images, write the image to a PPM file (binary P6 prefered).
Using the data storage type defined [[Basic_bitmap_storage|on this page]] for raster images, write the image to a PPM file (binary P6 preferred).


(Read [[wp:Netpbm_format|the definition of PPM file]] on Wikipedia.)
(Read [[wp:Netpbm_format|the definition of PPM file]] on Wikipedia.)