Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Mikas - Image CompressorNew to Visual Studio Code? Get it now.
Mikas - Image Compressor

Mikas - Image Compressor

Jaylen Lee

|
1,102 installs
| (1) | Free
Helps you to compress commonly used image formats faster and better.Support PNG,JPG/JPEG,WebP,SVG,GIF,SVGA.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
logo

Mikas - Image Compressor

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:

  • tinypng
  • SVGO

Introduce

Beginning

Beginning

Compress

Compress

Saved

Saved

Error Error

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.

How to Use

Compress the entire workspace

Compress the entire workspace

Compress the selected files and directories

Compress the selected files and directories

Configuration

Compress the entire workspace

On the extension settings page, compressor supports the following configurations:

Tinypng Api Key(required)

The API Key is checked before each use, register.

Force Overwrite

Select this option only if you want the extension to forcibly overwrite existing files instead of always creating new ones. Default value is false.

Compressed File Postfix

Postfix which is appended to the compressed file unless you are forcing the extension to overwrite the source file. Default value is ".min".

Concurrency

The maximum number of concurrent execution tasks is set to 6 by default. A large setting may increase Vscode's memory footprint.

Ignore

Specifies intentionally files that compressor should ignore. Glob expressions are supported and must end in semicolons.

Default Values:

**/node_modules/**;
**/.mikas/**;
**/.git/**;

Issues Report

GitHub Issues

Release Notes

Release notes can be found in the changelog.

Plan

  • SVGA、GIF support.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft