I replaced the call to WritePixelArray8() with SetRGB32() & WritePixel(); this works but is very slow.
Yeah, there's a lot of overhead when writing single pixels like this.
Presumably doing efficient >8-bit output would require CGX/P96.
cybergraphics/WritePixelArray can be used to render truecolor gfx. P96 emulates this API.
That's probably not worth it in the case of this particular program.
Yeah. If it begins to matter then you should use cgx/WPA.