Recommend a command-line utility to scale images to fit a defined file, Required to resize all my album-art files in batch mode |
- 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 |
Apr 17 2012, 04:24
Post
#1
|
|
![]() Group: Members Posts: 560 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. |
|
|
|
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 |
|
|
|
Apr 18 2012, 03:31
Post
#3
|
|
![]() Group: Members Posts: 560 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 |
|
|
|
May 7 2012, 15:34
Post
#4
|
|
|
Group: Members Posts: 99 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-
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 06:49 |