Replace deprecated image-util APIs to new one