/ArtSizeReader

Reads embedded cover art from MP3 files and analyzes them for resolution or filesize

Primary LanguageC#MIT LicenseMIT

ArtSizeReader

ArtSizeReader is a small commandline utility to check the size of covers in your digial music collection. This way you can quickly determine songs without covers or below a certain threshold (i.e. low resolution covers).

Requires .NET 6 or higher.

ArtSizeReader uses TagLib# (https://github.com/mono/taglib-sharp) for accessing the MP3 Tags and the Command Line Parser Library (https://github.com/commandlineparser/commandline).

Available arguments:

-i, --input Required. A file or directory to analyze.

-l, --logfile Writes output into the specified file. If no directory is given, the current directory will be used.

-t, --threshold Cover sizes above this threshold (in pixels) will be ignored. Required if -s/--size is not used. Format example: 400x400.

-p, --playlist Creates a M3U playlist with all scanned tracks below the threshold. Use to quickly load all affected files into your favorite tag editor or media player.

-r, --ratio Additionally restrict the cover size to a 1:1 aspect ratio. If enabled e.g 400x350 will cause an error while 400x400 won't.

-s, --size Cover file sizes below this threshold (in kilobytes) will be ignored. Useful to check for large image files. Required if -t/--threshold is not used. Format example: 1000 (equals 1 Megabyte).

-m, --max-threshold Can be used together with -t to define a maximum upper limit for covers, i.e. covers larger than this resolution will be reported. Format example: 1000x1000.

--help Display the help screen.