Author Topic: Creating an image manually  (Read 1579 times)

I want to take some numbers and save them as an image by converting them to colors, then display this image in a GUI.
Google searches aren't any help because they do not explain how any type of image encoding works - all the help sites just say 'use your language's default export function.' Blockland does not appear to have an image exporter.


For what you're doing, the best option is using tons of GuiSwatchCtrl objects or mixing different pre-made images together.

For what you're doing, the best option is using tons of GuiSwatchCtrl objects or mixing different pre-made images together.

Using thousands of GuiSwatchCtrl objects is quite slow.

Using thousands of GuiSwatchCtrl objects is quite slow.
Well, what other option is there?


Using thousands of GuiSwatchCtrl objects is quite slow.

You'd be surprised. As long as you didn't literally have one swatch per pixel or something like that, or if it was just a small 64x64 icon, then it would be fine.

one swatch per pixel or something like that
Yeah, that's what I did on a 1366x768 screen. Bad idea. It was laggy.
« Last Edit: July 12, 2013, 03:46:04 PM by Greek2me »

Yeah, that's what I did on a 1366x768 screen. It was laggy.

There's a difference between eight thousand and a million of ANY object.