Question about ImageCache and multiple plugin instances


I load the images from the PluginEditor constructor using ImageCache::getFromMemory into Image object 

image = ImageCache::getFromMemory (BinaryData::file_png, BinaryData::file_pngSize);

Image object get a copy of "pixel data"? or it gets a reference to the pixel data stored in a static variable? 


It'll return the same shared image each time. If you wanted it to load a new instance each time there'd be no need for the cache class, you could just repeatedly load it with ImageFileFormat::loadFrom