<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/itqwufpqv" -->

---
title: isaac0yen/imgstat: Recursively rename images with...
description: imgstat is a CLI tool that recursively scans directories and renames image files to include their dimensions in the filename (e.g., photo.jpg becomes...
canonical: https://daily.dev/posts/itqwufpqv
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: isaac0yen/imgstat: Recursively rename images with dimensions so LLMs can see them. | daily.dev
og:description: imgstat is a CLI tool that recursively scans directories and renames image files to include their dimensions in the filename (e.g., photo.jpg becomes...
og:url: https://daily.dev/posts/itqwufpqv
og:image: https://api.daily.dev/og/posts/iTQWufPQv.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# isaac0yen/imgstat: Recursively rename images with dimensions so LLMs can see them.

**[Oyeniyi Isaac](https://daily.dev/sources/3svwntk2xxtbscb7yiww6)** · [@isaac0yen](https://daily.dev/isaac0yen) · 2 upvotes · 0 comments

## Summary

imgstat is a CLI tool that recursively scans directories and renames image files to include their dimensions in the filename (e.g., photo.jpg becomes photo-1920x1080.jpg). This helps LLMs and AI coding assistants understand image sizes without needing to process the files directly. The tool is idempotent, skipping already-renamed files, and can also download and process images from URLs. Available as an npm package for global installation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/isaac0yen/imgstat>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#nodejs](https://daily.dev/tags/nodejs), [#llm](https://daily.dev/tags/llm), [#cli](https://daily.dev/tags/cli), [#shell](https://daily.dev/tags/shell), [#image-processing](https://daily.dev/tags/image-processing)

[View this post on daily.dev](https://daily.dev/posts/itqwufpqv)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/itqwufpqv","headline":"isaac0yen/imgstat: Recursively rename images with dimensions so LLMs can see them.","text":"Shared: isaac0yen/imgstat: Recursively rename images with dimensions so LLMs can see them.","url":"https://daily.dev/posts/itqwufpqv","datePublished":"2026-02-08T10:32:30.108Z","dateModified":"2026-02-08T10:33:00.005Z","author":{"@type":"Person","name":"Oyeniyi Isaac","url":"https://daily.dev/isaac0yen","image":"https://media.daily.dev/image/upload/s--xi7tWp_S--/f_auto/v1718722675/avatars/avatar_3sVwNtK2xXTBsCb7yiWw6","description":"uuh...","worksFor":{"@type":"Organization","name":"FUSE Varsity","logo":"https://media.daily.dev/image/upload/s--HhRc8qnY--/f_auto/v1766574238/companies/fusevarsity"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2210}},"image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/uSmX51e0K"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/3svwntk2xxtbscb7yiww6","name":"Oyeniyi Isaac"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Oyeniyi Isaac","item":"https://daily.dev/sources/3svwntk2xxtbscb7yiww6"},{"@type":"ListItem","position":3,"name":"isaac0yen/imgstat: Recursively rename images with dimensions so LLMs can see them."}]}
```

