Dear all,
       I open a bmp device by the bmp() function in the png package, but I 
don't know how to write color pixel by pixel into the file? Any help or hint?
       What I want to do is to create a 512*512 bmp file with certain dots 
being red and others black. I have all the pixel coordinates for the red dots, 
but I don't know how to draw the color on the device.
       Please help me!

Sincerely yours, 
  Yingqi
********************

Yingqi ZHANG    

Beijing P.O. Box 643, China 100044
Institute of Vertebrate Paleontology and Paleoanthropology (IVPP)
Chinese Academy of Sciences
Tel: +86-10-88369378     Fax: +86-10-68337001
Email: arvico...@gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to