Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--enable-scaling-clipped-images

What does --enable-scaling-clipped-images do?

Allows scaling clipped images in GpuImageDecodeCache. Note that this may cause color-bleeding. cache problems are solved.

Usage

CLILaunch Chrome with --enable-scaling-clipped-images using CLI

chrome --enable-scaling-clipped-images

PuppeteerLaunch Chrome with --enable-scaling-clipped-images using Puppeteer

const browser = await puppeteer.launch({
  args: ['--enable-scaling-clipped-images']
});

PlaywrightLaunch Chrome with --enable-scaling-clipped-images using Playwright

const browser = await chromium.launch({
  args: ['--enable-scaling-clipped-images']
});

SeleniumLaunch Chrome with --enable-scaling-clipped-images using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--enable-scaling-clipped-images')

driver = webdriver.Chrome(options=options)