|
Re: Cannot create an RGBImage instance
This seems to be a problem with the squawk VM not being able to work with the hardware. If I understand your post correctly, you're trying to run this on a computer. The exception says that a string cannot be cast to an address, and it seems that an address has to do with lower level communication to peripherals and some of the primitive data types. The squawk VM is not designed to be run on the computer, so when java tries to allocate some block of memory for your empty image and it uses the address class to access the memory, it fails to do so. Ifyou want to experiment with image pprocessing, you can use vision assistant.
|