Page 1 of 2

pictures...

Posted: Fri Nov 04, 2005 1:29 pm
by Charles256
anyone ever had to convert 500 + pictures from completely unphotoshopped to something that can be presented in tab size on the web? oh my life sucks..

Posted: Fri Nov 04, 2005 1:30 pm
by Burrito
yes
:)

Posted: Fri Nov 04, 2005 1:36 pm
by Charles256
does it take forever? or is it just me doing it the most innefficient way possible?

Posted: Fri Nov 04, 2005 1:39 pm
by Burrito
it depends entirely on the original size of the image. I use GD to just resize the image and create a thumbnail which I then turn to a hyperlink that opens the full size picture.

If my original images are ~640x480, it whips through them fairly quickly. As soon as I start getting into the 1900+x1500+ range, it takes a while to chew through them all.

set_time_limit() is your friend 8)

Posted: Fri Nov 04, 2005 1:40 pm
by Charles256
not an option.the pictures have to be brushed up first :-/

Posted: Fri Nov 04, 2005 1:46 pm
by Burrito
so brush them up then use GD, to "convert" them.

if you have to brush them up though, you may as well just save a copy as thumbail size then move on to the next 8O

I thought, based on your first post, that you weren't manipulating them prior to "posting" them on the web....

Posted: Fri Nov 04, 2005 1:47 pm
by timvw
irfanview batch processing.. ;) I've been told you can do pretty nasty stuff with imagick too ;)

Posted: Fri Nov 04, 2005 1:50 pm
by Charles256
yep.which is why this takes forever....

Posted: Fri Nov 04, 2005 2:49 pm
by wtf
Make a photoshop action and you won't have to write any scripts.

imagemagick would also be much faster to code out then GD (unless you have something ready)

depending on settings

Code: Select all

command line
/usr/local/bin/mogrify +profile "*"  -resize 320x240! /home/path/to/source /home/path/to/thumb;

php
exec("/usr/local/bin/mogrify +profile \"*\" -resize 320x240! /home/path/to/source /home/path/to/thumb;");
+profile will get rid of any image headers added by cam or whatever
-resize will bring it down to desired size


However, if you need to do brushing etc, then photoshop actions will be the best choice since you can record a macro then execute that macro upon all the images in folder.

Posted: Fri Nov 04, 2005 4:46 pm
by foobar
timvw wrote:irfanview batch processing.. ;)
Cripes, you beat me to it! IrfanView rules.

Posted: Fri Nov 04, 2005 5:56 pm
by jayshields

Posted: Fri Nov 04, 2005 9:31 pm
by Ambush Commander
The only thing I don't like about Irfanview is that it doesn't handle transparent PNG's made by Firefox correctly and doesn't antialias the pngs either... Firefox does a much better job, sadly.

Posted: Mon Nov 07, 2005 9:55 am
by pickle
I'd second ~wtf and suggest a Photoshop action. You can then throw that action in a batch process, sit back and wait. You can do any colour correction or blurring/sharpening you need in that action as well.

Posted: Mon Nov 07, 2005 10:00 am
by Grim...
May I ask 'why'?

Posted: Fri Nov 11, 2005 10:59 am
by Charles256
BTW, that photoshop action is doing wonders:-D granted it saves all the JPEG's with the addition of "copy" to the name for some retarded reason but i can go back and delete that later.real small deal.thanks