In comp.lang.javascript message <11*********************@a3g2000cwd.goog
legroups.com>, Thu, 28 Dec 2006 06:12:32,
Ea*****@letterbee.com posted:
>
Pretty sure this is a non starter, but does anyone know how to convert
an array of x-y coordinates, plotting a shape, in to a image (BMP, GIFF
etc) in javascript?
You could, of course, write the logic to encode the shape as an array of
byte-sized numbers matching the desired content of the BMP file (and
similarly with more effort for other formats). From that, generate,
still using javascript, a DEBUG script which will create that file.
Write it to a new window, and write instructions to Select All on that
window, copy to clipboard, and paste into DEBUG.
It's a good idea to read the newsgroup and its FAQ. See below.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6
news:comp.lang.javascript FAQ <URL:http://www.jibbering.com/faq/index.html>.
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.