try (failed) to restore render + use of numpy for image format conversion