Coder Social home page Coder Social logo

ste-tis / mp3albumcoverresizer Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 31.17 MB

Commandline tool to resize all images embedded in the tags of MP3 files at once. Optimize your music library for usage in your car or other devices which only support images until a certain size.

License: MIT License

C# 100.00%
csharp mp3 album-art album-cover resize resize-images bulk

mp3albumcoverresizer's Introduction

Mp3AlbumCoverResizer

Commandline tool to resize the images embedded in the tags of MP3 Files. Pass the path to your music library to the tool and Mp3AlbumCoverResizer will search for all MP3 files inside the directory (and subdirectories) to resize embedded images in the audio files. Optimize your music library for usage in your car or on other devices, which only support images of a certain size.

Usage

Use windows CMD or Powershell to execute program.

CMD> Mp3AlbumCoverResizer.exe -d "D:/My Music/Car" -w 500 -h 500 -r -v

Parameter

The following commandline parameter are supported in the current version.

-d	--dir=VALUE			    Directory containing MP3 files, which should be processed
-w	--width=VALUE			New max width of the images
-h	--height=VALUE		    New max height of the images
-q	--quality=VALUE		    Compress image after resizing (value: 0 - 100)
-o  --overwrite=VALUE       Overwrites or adds an album cover from file
-r	--recursive		        Also process files in subdirectories
-v	--verbose		        Show progress and other messages
    --help		            Show information about usage

Overwrite

Using the parameter -o=VALUE or --overwrite=VALUE allows to add a cover from a file within the folder to the MP3 files.

CMD> Mp3AlbumCoverResizer.exe -d "D:/My Music/Car" -o cover.jpg -r -v

If an folder contains an image file with the given name, all embedded images will be removed from the MP3 files in the folder and the image from the file will be added as cover. If an folder doesn't contain an image file with matching name, the embedded images will be resized, like the option wasn't set.

Known Problems

  • The tool skips files, if there is an error in one of the tag fields
  • The tool can't work on files which only have ID3 tags version 1 or no tags at all

License

This project is licensed under the MIT license. See the LICENSE file for more info.

mp3albumcoverresizer's People

Contributors

ste-tis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.