imgstat 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
  3. package/readme.md +0 -30
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # imgstat
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/imgstat.svg)](https://www.npmjs.com/package/imgstat)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+
6
+ **Give AI context about your images.**
3
7
  imgstat is a CLI tool that embeds image dimensions directly into filenames, or analyzes remote imagery, to give AI context without needing external parsers.
4
8
 
5
9
  ## Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imgstat",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Embeds image dimensions directly into filenames for natural AI context.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/readme.md DELETED
@@ -1,30 +0,0 @@
1
- # imgstat
2
-
3
- [![npm version](https://img.shields.io/npm/v/imgstat.svg)](https://www.npmjs.com/package/imgstat)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
-
6
- **Give AI context about your images.**
7
-
8
- LLMs can't see image dimensions. `imgstat` recursively scans directories and renames images to include their size (e.g., `photo.jpg` → `photo-1920x1080.jpg`), so your AI coding assistant knows exactly what it's working with.
9
-
10
- **Features:**
11
- - **AI-Ready Context**: Embeds dimensions directly in filenames.
12
- - **Idempotent**: Smartly skips images that are already renamed.
13
- - **Recursive**: Handles deep directory structures.
14
-
15
- ## Installation & Usage
16
-
17
- **Install:**
18
- ```bash
19
- npm install -g imgstat
20
- ```
21
-
22
- **Run:**
23
- ```bash
24
- imgstat [directory]
25
- ```
26
-
27
- **Download & Process:**
28
- ```bash
29
- imgstat -u https://example.com/images
30
- ```