EDIT: This is probably not useful for a lot of things... I think i'm sticking with normal list-based textures for the 3d engine. 1024x1024 image proof of concept! (Probably not for https://scratch.mit.edu/projects/1035370397/) QUICK HOW TO USE Requires ~10 secs to load apart from the render time. Up/down keys to change display scale. Space to run color access speed test. TECHNICAL The image is stored in a single string of 2097978 characters (2049 kB, three times the JPG), and decoded in real-time! The storage format uses 99 colors and pointers stored as two digits. I made a simple python script to encode an RGB list into this format. The original image is in the project as a backdrop, in case anyone wants to compare it with the string-based version. I just realized the loading isn't really necessary.
Image from: http://texturelib.com/