IPB

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

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





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



Hi.

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.

Cheers.
Go to the top of the page
+Quote Post
harto69
post Apr 17 2012, 08:45
Post #2





Group: Members
Posts: 35
Joined: 12-July 05
From: Southtyrol
Member No.: 23281



Hi,
Irfanview has a confortable batch-conversion-utility.
Harald

Edit: hoppala, not a command-line utility, sorry!

This post has been edited by harto69: Apr 17 2012, 08:47
Go to the top of the page
+Quote Post
rohangc
post Apr 18 2012, 03:31
Post #3





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



Last night, I found ImageMagick which seems to be the only decent command line image processing software around.

Although it didn't exactly fulfill my requirements, I used it to simply resize all my album art images to a 'low' 256x256' resolution and had to be content with that.

Looks like I can't have my cake and eat it too huh.gif
Go to the top of the page
+Quote Post
polemon
post May 7 2012, 15:34
Post #4





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



http://www.graphicsmagick.org/

Simply prefix your imagemagick command with gm:

CODE
mogrify -scale 250x250 cover.png

becomes:
CODE
gm mogrify -scale 250x250 cover.png


--------------------
-EOF-
Go to the top of the page
+Quote Post

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: 28th December 2014 - 10:03