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.
- package/README.md +4 -0
- package/package.json +1 -1
- package/readme.md +0 -30
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# imgstat
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/imgstat)
|
|
4
|
+
[](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
package/readme.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# imgstat
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/imgstat)
|
|
4
|
-
[](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
|
-
```
|