01-06-2009, 11:44 PM | #1 |
Banned
801
Rep 4,643
Posts |
best batch picture resizer?
i used to use powertoys resizer with xp, which was simple and good quality, but my new rig runs vista and i've yet to find a viable solution for batch resizing. i was using 'prish resizer' but that thing sucked (pixelated images). what do you guys use? i'd prefer something that integrates into the shell and doesn't sacrifice quality.
|
01-06-2009, 11:56 PM | #3 |
Banned
801
Rep 4,643
Posts |
|
Appreciate
0
|
01-07-2009, 02:31 PM | #4 |
Nigerian Prince
400
Rep 2,180
Posts
Drives: '11 F25
Join Date: Apr 2008
Location: San Diego, CA
|
for i in *.jpg; do $new=`echo $i | sed s/\.jpg/\-resized\.jpg/`; convert -geometry 1024x768 $i $new; done
__________________
|
Appreciate
0
|
01-07-2009, 02:42 PM | #5 |
Captain
67
Rep 629
Posts |
create an action...
__________________
SG e90 | Black Dakota Leather | ZPP | ZSP | 19" BBS LM Reps | Steptronic
iDrive | Aluminum Trim | Xenon | CF Roundels | 15% Tint |
Appreciate
0
|
01-07-2009, 03:06 PM | #6 | |
Stackin' Chips
174
Rep 608
Posts |
Quote:
is this a DOS command for a batch file?
__________________
|
|
Appreciate
0
|
01-07-2009, 03:20 PM | #7 |
Brigadier General
251
Rep 4,494
Posts |
(The following is for photoshop) Create a new action, and at some point you'll be allowed to set the action to a key (F2 - F12). Next time you wanna do a batch resize, just press the corresponding key
__________________
|
Appreciate
0
|
01-07-2009, 03:23 PM | #8 |
misadventurer
64
Rep 708
Posts |
+1. but do some trial runs on copied files first as a precaution so you dont mess up your originals if you dont do the actions correctly.
__________________
325i I SP
|
Appreciate
0
|
01-07-2009, 03:25 PM | #9 |
Nigerian Prince
400
Rep 2,180
Posts
Drives: '11 F25
Join Date: Apr 2008
Location: San Diego, CA
|
lol... that's as human as it gets for me
wont work in DOS, but will work on any Unix/Linux based OS (including Mac OS). all you need is ImageMagick installed (convert command is a part of it). Basically it takes every *.jpg (can be anything, really) file in the directory, resizes it to fit 1024x768 (it will do 768x1024 is the image is vertical), and will output to a file with "-resized" appended to the name. DSC0701.jpg -> DSC0701-resized.jpg Very basic shell one-liner. I mean i can add more logic to it, if needed, but i just decided to keep it simple....
__________________
|
Appreciate
0
|
01-07-2009, 03:26 PM | #10 |
12 yr old Juvie
1149
Rep 881
Posts
Drives: His Mom Crazy
Join Date: Apr 2008
Location: El Lay
|
I can send you a CD containing a copy of a simple photo editing software that comes with Cannon cameras. It has one the simplest batch file resizing tools ever. Also, although I don't use it much, I think the new version of Picasa has a similar feature (not 100% sure).
PM me your mailing address if you want the program. I have an extra copy ...wink wink |
Appreciate
0
|
01-07-2009, 03:49 PM | #11 |
Captain
67
Rep 629
Posts |
oh yeah....acdsee works great too
__________________
SG e90 | Black Dakota Leather | ZPP | ZSP | 19" BBS LM Reps | Steptronic
iDrive | Aluminum Trim | Xenon | CF Roundels | 15% Tint |
Appreciate
0
|
01-08-2009, 12:44 AM | #13 |
Brigadier General
234
Rep 4,726
Posts |
Yea it takes 2 mouse click whether you need to do 1 or 1000000000.
__________________
|
Appreciate
0
|
01-08-2009, 12:56 AM | #14 | |
you know he kills little girls like you
403
Rep 892
Posts |
Quote:
Nice to see a fellow hacker here. Golf? Code:
for i in *.jpg; do convert -geometry 1024x768 $i ${i%.*}-resized.jpg; done |
|
Appreciate
0
|
01-08-2009, 01:36 AM | #15 |
Lieutenant General
1854
Rep 17,322
Posts |
|
Appreciate
0
|
01-08-2009, 03:07 AM | #16 | |
you know he kills little girls like you
403
Rep 892
Posts |
Quote:
Better yet, I'd lay money on the fact that a spammer has created at least one thread advertising an image resizing tool here. |
|
Appreciate
0
|
01-08-2009, 03:57 AM | #17 |
Banned
801
Rep 4,643
Posts |
|
Appreciate
0
|
01-08-2009, 05:00 AM | #18 |
you know he kills little girls like you
403
Rep 892
Posts |
If you do have access to a *nix box with ImageMagick, this will work as a general procedure as well, but the apt-get command is only for Debian derived systems. Input in bold:
Code:
anmcguire@anmcguire-desktop:~/Desktop$ sudo apt-get install imagemagick # install ImageMagick [sudo] password for anmcguire: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: imagemagick 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 1421kB of archives. After this operation, 4571kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com intrepid/main imagemagick 7:6.3.7.9.dfsg1-2ubuntu3 [1421kB] Fetched 1421kB in 2s (607kB/s) Selecting previously deselected package imagemagick. (Reading database ... 116689 files and directories currently installed.) Unpacking imagemagick (from .../imagemagick_7%3a6.3.7.9.dfsg1-2ubuntu3_i386.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Setting up imagemagick (7:6.3.7.9.dfsg1-2ubuntu3) ... anmcguire@anmcguire-desktop:~/Desktop$ sudo apt-get install imagemagick [sudo] password for anmcguire: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-2.6.27-7 linux-headers-2.6.27-7-generic Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: imagemagick 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 1421kB of archives. After this operation, 4571kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com intrepid/main imagemagick 7:6.3.7.9.dfsg1-2ubuntu3 [1421kB] Fetched 1421kB in 2s (607kB/s) Selecting previously deselected package imagemagick. (Reading database ... 116689 files and directories currently installed.) Unpacking imagemagick (from .../imagemagick_7%3a6.3.7.9.dfsg1-2ubuntu3_i386.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file(s)... Registering documents with scrollkeeper... Setting up imagemagick (7:6.3.7.9.dfsg1-2ubuntu3) ... anmcguire@anmcguire-desktop:~/Desktop$ md5sum *.jpg # get md5sums for images 3b9850b265cbe2c94bf987b70c746e99 dispersion1280.jpg af606e66e99176e97c8ddd1beb788ddf indiansummer1280.jpg 841d9bcf4445241dad894ec7d8f1e876 skysong2k721280.jpg anmcguire@anmcguire-desktop:~/Desktop$ identify *.jpg # get image info dispersion1280.jpg JPEG 1280x1024 1280x1024+0+0 DirectClass 8-bit 519.992kb indiansummer1280.jpg[1] JPEG 1280x1024 1280x1024+0+0 DirectClass 8-bit 994.502kb skysong2k721280.jpg[2] JPEG 1280x1024 1280x1024+0+0 DirectClass 8-bit 421.279kb anmcguire@anmcguire-desktop:~/Desktop$ perl -wpi.bak -e0 *.jpg # backup images anmcguire@anmcguire-desktop:~/Desktop$ md5sum *.jpg *.bak # verify backup md5sums 3b9850b265cbe2c94bf987b70c746e99 dispersion1280.jpg af606e66e99176e97c8ddd1beb788ddf indiansummer1280.jpg 841d9bcf4445241dad894ec7d8f1e876 skysong2k721280.jpg 3b9850b265cbe2c94bf987b70c746e99 dispersion1280.jpg.bak af606e66e99176e97c8ddd1beb788ddf indiansummer1280.jpg.bak 841d9bcf4445241dad894ec7d8f1e876 skysong2k721280.jpg.bak anmcguire@anmcguire-desktop:~/Desktop$ mogrify -geometry 1024x768! *.jpg # convert images anmcguire@anmcguire-desktop:~/Desktop$ identify *.jpg *.bak # verify conversion dispersion1280.jpg JPEG 1024x768 1024x768+0+0 DirectClass 8-bit 321.43kb indiansummer1280.jpg[1] JPEG 1024x768 1024x768+0+0 DirectClass 8-bit 619.916kb skysong2k721280.jpg[2] JPEG 1024x768 1024x768+0+0 DirectClass 8-bit 274.727kb dispersion1280.jpg.bak[3] JPEG 1280x1024 1280x1024+0+0 DirectClass 8-bit 519.992kb indiansummer1280.jpg.bak[4] JPEG 1280x1024 1280x1024+0+0 DirectClass 8-bit 994.502kb skysong2k721280.jpg.bak[5] JPEG 1280x1024 1280x1024+0+0 DirectClass 8-bit 421.279kb 0.140u 0:02 Last edited by radix; 01-08-2009 at 05:35 AM.. |
Appreciate
0
|
01-08-2009, 05:11 AM | #19 |
you know he kills little girls like you
403
Rep 892
Posts |
BTW, Blake... IIRC, you run Mac OS X. You can download ImageMagick here:
http://www.imagemagick.org/script/bi...ses.php#macosx After installing, open a terminal and follow the instructions in my in either solefad's or one of my posts and you should be fine. |
Appreciate
0
|
Post Reply |
Bookmarks |
|
|