TinyPNG API VSCode Extension
This extension uses the API provided byTinyPNG to compress your JP(E)G and PNG images directly inside VSCode!
Compression of single files
Inside the file explorer, use the entry in the context menu to compress a single file.
Compression of folders
As an addition to compress single files you can also compress all images inside a complete folder — including subfolders — aswell!
Select a folder and press the corresponding TinyPNG context menu entry.
You need to have an active TinyPNG API key, which you can find in your TinyPNG Developer Dashboard. You can provide the API key in your settings, see below.
!!!Be aware of TinyPNG API's pricing model! All compressions you do via this extension are counting in your account's compression count! You can see your currently and monthly compression count via command you can see below or inside the dashboard!!!
This extension contributes the following settings:
Currently not supported API features are:
Note: This extension uses the TinyPNG own NodeJS Tinify API client. Thus issues you might notice in the extension are actual issues of this library.
Release notes can be found in the changelog.