PDA

View Full Version : photo question



ducks
07-11-2008, 04:40 PM
I know someone that needs 1000 photos 150 by 150
they all have to be that size!
no smaller they can not be 100 by 150
they need to keep the pictures in propation.
is there a program that will let you do batch and do 1000 at one time.
I have seen some that do batch but they do not make them all 150 by 150. Some are smaller and larger!

Thanks

Slomo
07-11-2008, 04:49 PM
Photoshop can do it (yes batch processing too)

But there's a problem with that request.

If the original pictures are all perfect squares, then downsizing them to a different square (150x150) is pretty easy and straight forward.

If they are not you need to crop them to a square first, then resize them. You can create a macro in photoshop that will do all that in one go, but it will always crop the pictures the same way (ie from the top left corner) which usually creates unwanted results (loss of content).

In the film/video industry we use another solution, we add pixels in order to get the picture ratio we need - that's the top/bottom black bars you get on your TV when they are showing a widescreen movie on a 4:3 TV channel.
So in that case you could also make a macro that adds black pixels to the picture, so that it becomes a square and then resize it. That way you wouldn't lose any picture content (as you would with cropping) but you would have horizontal or black bars as parts of your pictures.

ducks
07-11-2008, 10:04 PM
thanks

DarrinS
07-12-2008, 10:28 AM
Those are some pretty damn small pics.

Avatars?

spurster
07-12-2008, 03:00 PM
Using the ImageMagick package in Linux, the following command seems to do what you want:



convert input.jpg -thumbnail 150x150 -bordercolor gray -border 75 -gravity center -crop 150x150+0+0 output.jpg


Then you would need to write a script to process all the image files.

ducks
07-12-2008, 09:44 PM
they are thumbnails for store online
they either need to be 200 x 200
or 150 by 150


the large ones can be any size of 800

DarrinS
07-13-2008, 08:34 AM
they are thumbnails for store online
they either need to be 200 x 200
or 150 by 150


the large ones can be any size of 800



I once used a program called CompuPic that would do batch thumbnails. Pretty cheap software, if memory serves.