Welcome Guest ( Log In | Register )

> Hydrogenaudio Forum Rules

- No Warez. This includes warez links, cracks and/or requests for help in getting illegal software or copyrighted music tracks!
- No Spamming or Trolling on the boards, this includes useless posts, trying to only increase post count or trying to deliberately create a flame war.
- No Hateful or Disrespectful posts. This includes: bashing, name-calling or insults directed at a board member.
- Click here for complete Hydrogenaudio Terms of Service

Recommend a command-line utility to scale images to fit a defined file, Required to resize all my album-art files in batch mode
post Apr 17 2012, 04:24
Post #1

Group: Members
Posts: 570
Joined: 1-December 02
From: India
Member No.: 3948


I am about to batch transcode my FLAC files into LAME 3.99.5 MP3s. I have really large high-resolution album-art images that I downloaded off the Internet.

The problem is my phone which will be one of my listening devices expects album-art to be embedded in the MP3s that it plays or it won't display them at all.
It really doesn't make sense to embed a large image file (sometimes running into megabytes) into each and every MP3 file in an album.

I want a command-line utility that I can use with CygWin to scale a bunch of .jpg files in a folder to a specified file size (say 100KB). I am willing to live with the bloat caused by embedding these (relatively) small images into my individual MP3s.

If someone knows of one such software, please let me know what it is. Thanks for your help in advance.

Go to the top of the page
+Quote Post
Start new topic
post May 7 2012, 15:34
Post #2

Group: Members
Posts: 168
Joined: 1-April 09
Member No.: 68578


Simply prefix your imagemagick command with gm:

mogrify -scale 250x250 cover.png

gm mogrify -scale 250x250 cover.png

Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 26th November 2015 - 07:01