//Â We need 5 images loaded from the same source, each with different scale and opacity
// => creates 5 separate ImageContext instances
//Â Â => wastes memory and CPU because each instance loads its own copy of the same image
//Â Â Â even though only scale and opacity differ.
ImageContext* img1 = new ImageContext("file.svg", 0,1, 0,1);
...
ImageContext* img5 = new ImageContext("file.svg", 0.5, 0.5);
...
im1->display();
...
im5->display();
// =>Â We should load the image data only once and share it across all ImageContext instances