// If you want to delete a specific image located
// in a known cell, this will do the trick.
const images = sheet.getImages();
for (let i = 0; i < images.length; i++) {
if (row == images[i].getAnchorCell().getRow() &&
col == images[i].getAnchorCell().getColumn()) {
images[i].remove();
break;
}
}
//If you want to delete a specific image located in a known cell, this will do the trick.
const imagins = sheet.getImages();
for (let i = 0; i < imagins.length; i++) {
if (row == imagins[i].getAnchorCell().getRow() &&
col == imagins[i].getAnchorCell().getColumn()) {
imagins[i].remove();
break;
}
}