A Visual Studio Code plugin to helps you to compress commonly used image formats faster and better.
The following common image formats are supported:
- JPG/JPEG
- PNG
- WebP
- SVG
- GIF
- SVGA
Partial function implementation based on:
Beginning
Compress
Saved
Notes: Please make sure that the network connection is normal before use, because Tinypng API Key verification and compression require network requests, but svg files will be processed locally and will not consume traffic.
Compress the entire workspace
Compress the selected files and directories
On the extension settings page, compressor supports the following configurations:
The API Key is checked before each use, register.
Select this option only if you want the extension to forcibly overwrite existing files instead of always creating new ones. Default value is false.
Postfix which is appended to the compressed file unless you are forcing the extension to overwrite the source file. Default value is ".min".
The maximum number of concurrent execution tasks is set to 6 by default. A large setting may increase Vscode's memory footprint.
Specifies intentionally files that compressor should ignore. Glob expressions are supported and must end in semicolons.
Default Values:
**/node_modules/**;
**/.mikas/**;
**/.git/**;
Release notes can be found in the changelog.
- SVGA、GIF support.
Enjoy!