load image while saving for direct save() call