// clear all resized cached instances and repaint the layer
for (int x = 0; x < dax; ++x) {
for (int y = 0; y < day; ++y) {
GeorefImage img = images[modulo(x, dax)][modulo(y, day)];
img.flushResizedCachedInstance();
BufferedImage bi = img.getImage();
// Completely erases images for which transparency has been forced,
// or images that should be forced now, as they need to be recreated
if (ImageProvider.isTransparencyForced(bi) || ImageProvider.hasTransparentColor(bi)) {
img.resetImage();