Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   Mass Image Cropping... (http://www.greenguysboard.com/board/showthread.php?t=45178)

NY Jester 2008-01-28 12:36 PM

Mass Image Cropping...
 
Anyone know of an inexpensive to free Image cropper program..that can batch crop images to a certain size?

as an alternative if anyone knows a way to crop multiple images "at once" or techniques on saving time that would work too.

Appreciate the feedback.

J-


***

Greenguy 2008-01-28 02:13 PM

http://www.photodex.com/products/compupic/

$40 & it works wonders for what you need.

Ramster 2008-01-28 02:20 PM

Arles is a good one for reducing image size or making thumbs all at once. http://www.digitaldutch.com/arles/

bDok 2008-01-28 05:26 PM

I actually was looking for something to do this for screengrabs. I just ended up using imagemagick that's built into my *nix boxes.

I wrote a command like this and then did a bash script to cycle over everything.

Code:

convert -size 300x300 the_original_file.jpg -thumbnail x200  -resize '200x<'  -resize 50% -gravity center -crop 100x100+0+0  +repage  new_file.jpg
basically turns the image into a 100x100 thumbnail cutting around the center.

For other stuff I've actually used what Ramster mentioned and it works great as well.

hashbury 2008-01-28 07:44 PM

I also use Arles. Its the Best software i have ever bought besides dreamweaver or photoshop and its a lot cheaper.

tickler 2008-01-29 01:41 AM

Quote:

Originally Posted by bDok (Post 386440)
I actually was looking for something to do this for screengrabs. I just ended up using imagemagick that's built into my *nix boxes.

basically turns the image into a 100x100 thumbnail cutting around the center.

I did a little PHP script like that to basically do the same thing to quick build thumbs. Maximum crop size centered based on required thumb ratios. Also with auto-selection for default picture number to grab from gallery URLs.

Alex B 2008-01-29 04:06 AM

If you just want to do batch image conversion, http://www.irfanview.com is free and can do probaby most of the things you want. However, if you want to make galleries too, my vote goes to Arles

NY Jester 2008-01-29 08:07 AM

Hey all, thanks I have used Arles before, but lost my copy when I redid my last machne...never re-upped it. I used EZ Thumbs to resize them ..I had a mainstream project that had 400 images that were taken at 1600x1200 px, and I needed to get them reduced to smaller size..

Thanks for the feedback.

J-


***

spacemanspiff 2008-01-29 11:57 AM

http://download.microsoft.com/downlo...ertoySetup.exe

Won't crop images, but it will resize them. It adds an option to your right click menu (Windows, of course). Select images, right click, resize. Presto.

NY Jester 2008-01-29 03:17 PM

Thats a useful tool spiff..

[BV] 2008-01-31 02:40 PM

My first choice is PhotoShop but if you want free: www.irfanview.com will batch crop also.

Mateusz 2008-01-31 03:25 PM

You can use this easy php script as well - its usefull if you already have your photos already on server so you dont need to download and upload them again.

As for now it looks for the pics in directory where the script file is located and copy resized pics to directory called 'tn' (assuming its already created), but you can modify it to check all subdirectories by adding several lines

PHP Code:

<?php



if ($_POST[send] == 'ok') {


$desc_directory 'tn';

foreach( 
glob('*.jpg') as $plik )
   {
    
$tablica[] = basename($plik);
      }
     
    for( 
$x 0$x count($tablica); $x++ )

        {
      

          
$img ImageCreateFromJpeg("$tablica[$x]");        

          
$filename "$tablica[$x]";
                    
          
$x5 imagesx($img);
          
$y5 imagesy($img);
                   
               if(
$x5 $y5){
             
$nx5 $_POST[wielkosc];
             
$ny5 $_POST[wielkosc]* ($y5 $x5);
               }

          elseif(
$x5 $y5){
             
$nx5 $_POST[wielkosc]* ($x5 $y5);
              
$ny5 $_POST[wielkosc];
               }

          else{
              
$nx5 $_POST[wielkosc];
             
$ny5 $_POST[wielkosc];
              }

                                        
          
$new_img imagecreatetruecolor($nx5$ny5);
          
imagecopyresampled($new_img$img0000$nx5$ny5$x5$y5);
                    
          
imagejpeg($new_img"$desc_directory/$filename"85);
    
    
         }






}

else {


echo 
'<form method="post" action="resize_pics.php">
NEW SIZE:<input type="texy" size="32" name="wielkosc" value="">
<input type="submit" name="send" value="ok"></form>'
;

}





?>

imagejpeg($new_img, "$desc_directory/$filename", 85);
- 85 is the quality factor (0-100)


*****

UPS, I didn't notice your already done

horney 2008-01-31 09:44 PM

gThumb will batch resize in a GUI on *nix. I use it in Gnome on a Ubuntu workstation.


All times are GMT -4. The time now is 12:35 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc