Simple PNG text metadata reader that can read from local file and URL.
Sometimes, I just want to get generation parameters from an image and most of the time, exif.tools work just fine
BUT if you want to read PNG metadata from pixiv, you can't
because pixiv image server (https://i.pximg.net) required referer - https://pixiv.net header
- Build from source or download Windows pre-built from releases
- Run executable or pass the argument to the executable
- Prefix with
all:will read every.pngfiles in the specify directory INCLUDES subfolders(e.g.
all:image collection,all: "scan these subfolders") - Prefix with
httpwill download the image and read from that image(e.g
https://mydoma.in/example.png) - If not with the 2 above prefix and all commands below, It'll read every
.pngfound in directory OR a file(e.g.
C:\Pictures\My Image Collection,My Image Collection/example.png) clear|clsto clear terminal screenquit|stop|exitto exit properlyupdateto check for update
- You can pass in multiple targets
e.g.Command:or1.png, 2.pngif comma ("1, 2.png", "3, 4.png",) is in the file nameArguments:or./metadata 1.png 2.pngif space (./metadata "this file or dir contains space") is in the file name
- Apps will try to get text out as much as possible. (checkout
src/utils.rs:get_avaiable_text)
- Twitter images (
pbs.twimg.com)I don't have plan to support this because I don't know how to make a request to it
but I found thex-cacheheader so it might required additional lib as it may has to do with HTTP caching
AND I DON'T WANT THAT
-
png - Licensed under either of
- Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
-
reqwest - Licensed under either of
- Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
-
colored - Mozilla Public License 2.0 (https://www.mozilla.org/en-US/MPL/2.0/)
-
clap - Dual-licensed under Apache 2.0 or MIT.
- Apache License, Version 2.0 (http://apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
