Saving/outputting Images?

Monkey Forums/Monkey Programming/Saving/outputting Images?

ElectricBoogaloo(Posted 2013) [#1]
Yesterday I made a stupid little random snowflake generator in BlitzMax. Nothing fancy, just a single-purpose one time silly random doohickey.

I've since been thinking that it'd be handy to make similar tools using Monkey, output them to HTML5 target, and then get them to create little png/jpg results.

Not sure what methods I could use for this kind of thing.
Any suggestions would be great.

Assume Html5 target as prime suspect, and if any possibilities also work elsewhere, that'd be a bonus!


Gerry Quinn(Posted 2013) [#2]
I don't know of any Monkey code to export standard image formats, maybe somebody with a few hours to spare could write one! 32-bit BMP/DIB is pretty simple, and most programs can read it.

In the meantime, to get graphics in a hurry just use Print Screen and paste the result into a paint program.


ElectricBoogaloo(Posted 2013) [#3]
Aye, and I was even thinking of making something on iOS, since I could just use the screengrab on that. But if I can output a png from a website that's super handy for all kinds of things.