You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi - I'd just store all the images (as you'd get from the image generator site) into one big file one after the other and store the offsets somewhere.

    Then:

    var images = require("Storage").read("myimages");
    // note 'images' is not actually using up your RAM, it's still stored in flash
    
    g.drawImage(images.substr(offset,len));
    

    The substr will do a copy of the small image into RAM, but honestly if it's a small icon that's not going to cause a big problem.

About

Avatar for Gordon @Gordon started