Prompts the user to configure various options for PNG image processing. It allows the user to set optionsn, like:
The user can choose to skip adding more options at any time.
A promise that resolves to an object containing the selected PNG options.
const PngOptions = await SetPngOptionsPrompt();console.log(PngOptions);// will returns: { progressive: true, compressionLevel: 6, adaptiveFiltering: true, effort: true, palette: true, colors: 256, dither: true } Copy
const PngOptions = await SetPngOptionsPrompt();console.log(PngOptions);// will returns: { progressive: true, compressionLevel: 6, adaptiveFiltering: true, effort: true, palette: true, colors: 256, dither: true }
Prompts the user to configure various options for PNG image processing. It allows the user to set optionsn, like:
The user can choose to skip adding more options at any time.