Local Image Compress
Local PNG/JPEG compression,using system pngquant/mozjpeg. Works offline, supports batch/background compression, cache with backups, and safe move of compressed files. - This plugin has not been manually reviewed by Obsidian staff.
The above warnings are based on limited information and might not always be accurate.
Data
| ID | local-image-compress |
| Author | haperone |
| Funding | Support the Author |
| Minimum Obsidian Version | 1.4.0 |
| Official Release Date | 2026-06-17 |
| Last update | 2026-06-29 |
Last Refresh
Obsidian Stats last refreshed the data behind this page on Jul 13, 2026.
| Community plugin snapshot | Jul 13, 2026 |
| Repository clone | last successful checkout Jun 29, 2026 |
| Release acquisition | release metadata checked Jun 29, 2026; latest main.js acquired |
Quick Links
- GitHub Repo
- View in Obsidian
- View on Obsidian Community
- View on the Obsidian Hub
- Author Website
- Support the Author
Changes
| Date | Changed Property | Old Value | New Value |
|---|---|---|---|
| 2026-06-17 | Plugin Added |
Repository Data
| License | GPL-3.0-or-later in package.json GPL-3.0 in LICENSE file |
| Package Manager | npm |
| Uses Typescript | Yes |
| Installed Bundlers | esbuild |
| Installed Testing Frameworks | None found |
| Has Test Files | No |
Latest Release main.js Size | 1.77 MB |
| Detected ES Version | ES2020 |
| Probably Minified | Yes |
| main.js API Findings | 8 disclosures |
| Uses BRAT beta releases | No |
| Dependencies | None |
| Dev Dependencies | @eslint/json, @jsquash/jpeg, @jsquash/png, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, esbuild, eslint, eslint-plugin-obsidianmd, imagequant, obsidian, typescript, typescript-eslint |
main.js API Findings
These conservative findings come from static analysis of the latest release main.js. The table includes warnings and high-confidence informational findings; lower-confidence informational findings are omitted to reduce false positives. Warnings indicate usage of potentially risky APIs, but such APIs can be used safely if handled with care.
| Disclosure | Detected From |
|---|---|
| Embedded Base64 Blob | Includes large embedded base64 blobs |
| Full Vault Access | Enumerates vault files |
| Global Handlers Or Timers | Registers events, DOM handlers, or intervals |
| Node Filesystem Access | Uses direct Node filesystem-related modules |
| Note Content Access | Reads vault files |
| Private Network Access | References localhost or private-network addresses |
| Process Or Shell Access | Uses Node process or subprocess APIs |
| Worker Usage | Uses Worker APIs |
| Finding | Type | Confidence | Evidence |
|---|---|---|---|
| Uses Electron desktop APIs | Warning | High | electron (1) |
| Uses direct Node filesystem-related modules | Warning | High | fs (9), path (11) |
| Uses Node process or subprocess APIs | Warning | High | process.platform (2) |
| References localhost or private-network addresses | Warning | Medium | 127.0.0.1 (2), localhost (3) |
| Uses Worker APIs | Info | High | Worker (1) |
| Includes large embedded base64 blobs | Info | High | base64 blob (4) |
| Registers events, DOM handlers, or intervals | Info | High | this.registerDomEvent (2) |
| References URLs or constructs URL objects | Info | High | http:// (2), https:// (5) |
| Persists plugin settings or data | Info | High | this.loadData (1), this.saveData (1) |
| Registers plugin settings UI | Info | High | this.addSettingTab (1) |
| Registers commands, ribbon icons, or status bar items | Info | High | this.addStatusBarItem (1) |
| Accesses Obsidian vault APIs | Info | High | app.vault (15) |
| Enumerates vault files | Info | High | app.vault.getAllLoadedFiles (2), app.vault.getFiles (3) |
| Reads vault files | Info | High | app.vault.readBinary (3) |
| Accesses Obsidian workspace APIs | Info | High | app.workspace (2) |
| Accesses the active file or editor | Info | High | app.workspace.getActiveFile (1) |
The above data may not be accurate and contain errors. For more information refer to the page about data collection.
Lines of Code
The plugin has a total of 21785 lines of code. The following chart shows the lines of code split by programming language.
Downloads
The following chart shows the total number of downloads of the plugin over time. The second chart shows the delta of downloads per week, which is the number of new downloads per week. New version releases are marked with vertical lines.
Version History
| Version | Release Date | Note |
|---|---|---|
| 1.0.0 | 2026-06-15 | Released while not listed |
| 1.0.1 | 2026-06-17 | None |
| 1.0.2 | 2026-06-29 | None |
| 1.0.3 | 2026-06-29 | None |
Blacklisted versions are versions that are known to cause major issues or contain security concerns and have thus been blacklisted by the Obsidian team. Obsidian will disable plugins on startup whose installed version is blacklisted. Released while not listed versions happened outside the period where the plugin was present in the community plugin list and are excluded from aggregate release statistics.