VSCode Extension Settings
Name | Type | Description | Default value |
---|---|---|---|
image-manager.file.root | string[] | Workspace root | Current workspace |
image-manager.file.exclude | string[] | Scan images not in exclude (pattern syntax of micromatch) | ["**/node_modules/**","**/.git/**","**/dist/**","**/coverage/**","**/.next/**","**/.nuxt/**","**/.vercel/**","**/.idea/**"] |
image-manager.file.scan | string[] | Scan images with imageType | ["png","jpg","jpeg","webp","gif","tiff","tif","avif","heif","heic","apng","svg","bmp","ico"] |
image-manager.file.confirmDelete | boolean | Controls whether ask for confirmation when deleting a image | true |
image-manager.file.revealFileInOsDeeply | boolean | Enter folder when it is revealed in OS | true |
image-manager.appearance.theme | dark | light | auto | Theme | auto |
image-manager.appearance.language | en | zh-CN | zh-TW | ja | auto | Language | auto |
image-manager.appearance.primaryColor | string | Primary color | undefined |
image-manager.viewer.warningSize | number | boolean | Show warning dot if image size is larger than this value (KB) | 1024 |
image-manager.viewer.imageWidth | number | Width of image (px) | 100 |
image-manager.viewer.imageBackgroundColor | string | Image background color | #1a1a1a |
image-manager.viewer.imageRendering | auto | crisp-edges | pixelated | Image rendering | auto |
image-manager.viewer.showDetailsOnHover | boolean | Show image details on hover | true |
image-manager.mirror.enabled | boolean | Use mirror for downloading dependencies | false |
image-manager.mirror.url | string | Custom mirror url (No need to custom this in general) | undefined |
image-manager.compression.errorRange | number | Error range (KB), exceeding this range is considered an increase in image size after compression | 2 |
image-manager.compression.keepOriginal | boolean | Keep original image after compression | false |
image-manager.compression.fileSuffix | string | Add suffix to compressed image | .min |
image-manager.compression.skipCompressed | boolean | Skip the compressed images | true |
image-manager.compression.quality | number | Compression quality | - |
image-manager.compression.size | number | Image size (x scale factor) | 1 |
image-manager.compression.format | string | Convert format after compression | '' |
image-manager.compression.png.compressionLevel | number | Compression level of png | 9 |
image-manager.compression.gif.colors | number | Image colors of gif | 256 |
image-manager.compression.svg.compressedAttribute | string | null | Add "compressed" attribute to svg after compression. Set to null to disable | c |
image-manager.compression.svg.removeDataAttributes | boolean | Remove data-* attributes from svg. Except data-[{compressedAttribute}] | true |
image-manager.conversion.format | string | Convert format | '' |
image-manager.conversion.keepOriginal | boolean | Keep original image after format conversion | false |
image-manager.conversion.icoSize | number[] | Size of ico | [16, 32] |
image-manager.similarity.precision | number | Determining the precision of image similarity. The smaller the value, the stricter the judgment | 10 |