Best batch image resizer?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NinjaSteve
    Too lazy to set a custom title
    • Dec 2003
    • 11089

    #1

    Best batch image resizer?

    Can anybody recommend a program to batch resize images. Thanks.
    ...
  • media
    Confirmed Moneymaker
    • Apr 2002
    • 9853

    #2
    Smaller Animals
    I'm here for the violence!

    Comment

    • Ice
      Confirmed User
      • Nov 2002
      • 26053

      #3
      thumbsplus
      icq 1904905

      Comment

      • Paul Waters
        Confirmed User
        • Mar 2003
        • 4402

        #4
        Irfanview

        Freeware!

        www.irfanview.com


        Paul

        Comment

        • johndoebob
          Confirmed User
          • Mar 2004
          • 3405

          #5
          Arles Image Web Page Creator.

          Comment

          • Helix
            Confirmed User
            • Feb 2002
            • 6021

            #6
            Originally posted by Paul Waters
            Irfanview

            Freeware!

            www.irfanview.com
            Irfanview is such a handy proggy, I am always amazed it's freeware.

            Comment

            • NinjaSteve
              Too lazy to set a custom title
              • Dec 2003
              • 11089

              #7
              Thanks! I'll probably take a look at Arles and Irfanview.
              ...

              Comment

              • Jake
                Confirmed User
                • Nov 2001
                • 3056

                #8
                Originally posted by johndoebob
                Arles Image Web Page Creator.
                Yup! That's my vote too! www.digitaldutch.com

                Comment

                • Yo Adrian
                  Confirmed User
                  • Apr 2002
                  • 6326

                  #9
                  Originally posted by johndoebob
                  Arles Image Web Page Creator.
                  That's what I use, works great
                  Adult SEO Partners - Full service Adult SEO Agency serving some of the biggest names in the industry.

                  Comment

                  • JSA Matt
                    So Fucking Banned
                    • Aug 2003
                    • 5464

                    #10
                    I use Photoshop but check out XAT.. they have always had the fastest image processing programs available.

                    http://www.xat.com/

                    Comment

                    • SmokeyTheBear
                      ►SouthOfHeaven
                      • Jun 2004
                      • 28609

                      #11
                      i have a php script that will make thumbs. just add all your pics to a directory and go to the index.php file and the images are created on the fly the first time and made into gallery format for you. no programs to intall.. etc
                      hatisblack at yahoo.com

                      Comment

                      • SmokeyTheBear
                        ►SouthOfHeaven
                        • Jun 2004
                        • 28609

                        #12
                        PHP Code:
                        <?PHP
                        
                        /* 
                         * Place this file in a folder that you want thumbnailed
                         * This file should be the default page in that folder
                         * This file must have privilege to execute
                         * The folder must allow writing, chmod 777 *
                         * Thumbnails are prefixed with t_ 
                         *
                         * If the thumbs do not exist, they will be created
                         * If the thumbs do exist, they will not be recreated
                         * Avi and Mpg files are echoed with a generic image as its thumbnail
                         *
                         */
                        
                        
                        $tncount=0;                                         //thumbnail counter
                        $count=0;                                            //generic counter
                        $prefix="t_";                                        //thumbnail prefix
                        $arrayCount=0;                                        //array counter
                        
                        
                        if ($handle = opendir("./")) {
                          while (false !hahahaha ($file = readdir($handle))) { 
                            set_time_limit(5);
                            if( !file_exists($prefix.$file) && stristr($file, "jpg") && !stristr($file, $prefix)){
                              //create thumbs for jpg if thumb doesnt exist
                              $name = $file;
                              $OldImage = ImageCreateFromJpeg($name);
                              $width = imagesx($OldImage);
                              $height = imagesy($OldImage);
                              $DEF_TWIDTH = 200;
                              $NewThumb = ImageCreateTrueColor($DEF_TWIDTH,($DEF_TWIDTH/$width)*$height);
                              ImageCopyResized($NewThumb,$OldImage,0,0,0,0,$DEF_TWIDTH,($DEF_TWIDTH/$width)*$height,$width,$height);
                              ImageJpeg($NewThumb,$prefix . $name,75);
                              ImageDestroy($NewThumb);
                              ImageDestroy($OldImage);
                              $tncount++;                                         //counts the number of thumbnails created
                            }
                            if(file_exists($prefix.$file) && !stristr($file, "..") && !stristr($file, ".php") && stristr($file,"jpg")){
                              //display if thumbs ixisT
                              $tempArray[$arrayCount]="<td width=\"200\" bgcolor=\"#225483\" onmouseover=\"javascript:this.bgColor='397DBE'\" onmouseout=\"javascript:this.bgColor='225483'\"><a href=\"".$file."\" target=\"_blank\"><img src=\"" . $prefix . $file . "\" border=\"0\" height=\"150\" alt=\"".(filesize($file)/1000)." Kb\"><br>". $file ."<br> Size: ".(filesize($file)/1000)." Kb</a></td>\n";
                              $tempArrayIndex[$arrayCount]=1;
                              $arrayCount++;
                            }
                            if(stristr($file, "mpg") || stristr($file, "avi")){ //if the file is a movie
                              $tempArray[$arrayCount]="<td width=\"200\" bgcolor=\"#225483\" onmouseover=\"javascript:this.bgColor='397DBe'\" onmouseout=\"javascript:this.bgColor='225483'\"><a href=\"".$file."\" target=\"_blank\"><img src=\"http://www.sinfulvirgins.com/vph.jpg\" border=\"0\"><br>".$file."<br> Size: ".(filesize($file)/1000)." Kb</a></td>\n";
                              $tempArrayIndex[$arrayCount]=0;
                              $arrayCount++;
                            }
                          }
                        }
                        set_time_limit(10);                                      //allows up to 10 seconds to process each thumbnail
                        closedir($handle);
                        echo "<title>Smokey the bear ! - " . $tncount . " added, ".($arrayCount)." total</title>\n";
                        echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tr onmouseover=\"javascript:this.bgColor='4077AB'\" onmouseout=\"javascript:this.bgColor=''\">";
                        $num=20;                                                 //how many images per page (default)<br>
                        if($_GET['num'] >= 1)
                          $num=$_GET['num'];
                        $page=1;                                                 //starting page
                        if($_GET['page'] >= 1)
                          $page=$_GET['page'];
                        $finalArrayIncr=0;                                        //$finalArrayIncrrrrrr increments $finalArray[] to the next spot throughout both for loops
                        for($z=0; $z<$arrayCount; $z++){                            //for loop that puts the images in the $finalArray[] array
                          if($tempArrayIndex[$z]hahahaha1){
                            $finalArray[$finalArrayIncr]=$tempArray[$z];
                            $finalArrayIncr++;
                          }
                        }
                        for($x=0; $x<$arrayCount; $x++){                        
                          if($tempArrayIndex[$x]hahahaha0){
                            $finalArray[$finalArrayIncr]=$tempArray[$x];
                            $finalArrayIncr++;
                          }
                        }
                        if(($page*$num)-$num > $arrayCount)                     
                          $page=1;
                        for($i=0; $i<$arrayCount; $i++){
                          if($counthahahaha4){                                
                            $count=0;                                        
                            echo "</tr><tr>";
                          }
                          if($i <$page*$num && $i >=($page-1)*$num){        
                            echo $finalArray[$i];                    
                            ++$count;
                          }
                        }
                        if($num<999 && $arrayCount>$num){
                          echo "<a href=\"./?page=";                                //prints out <<
                          if($page-1<1)                                            //if its already the first page, simply stay on the page
                            echo "1";
                          else 
                           echo ($page-1);
                          echo "&num=".$num."\">&lt;&lt;</a> ";
                          $pg=0;                                                    //page counter, incremented when $i%$numhahahaha0
                          for($i=0; $i<$arrayCount; $i++)                            //does the page numbering
                            if($i%$numhahahaha0 )
                              echo "<a href=\"./?page=".++$pg."&num=".$num."\">".$pg."</a> ";
                          echo "<a href=\"./?page=";                                //prints out >>
                          if($page+1>$pg)                                            //if its already the last page, simply stay on that page
                            echo $pg;
                          else 
                            echo $page+1;
                          echo "&num=".$num."&sid=".$_GET['sid']."\">&gt;&gt;</a> ";
                        }
                        echo "<br>Number of images per page: ";                    //sets the number of images displayed per page
                        echo " <a href=\"./?page=".$page."&num=5&sid="."\">5</a> ";
                        echo " <a href=\"./?page=".$page."&num=10&sid="."\">10</a> ";
                        echo " <a href=\"./?page=".$page."&num=20&sid="."\">20</a> ";
                        echo " <a href=\"./?page=".$page."&num=30&sid="."\">30</a> ";
                        echo " <a href=\"./?page=".$page."&num=40&sid="."\">40</a> ";
                        echo " <a href=\"./?page=".$page."&num=50&sid="."\">50</a> ";
                        echo " <a href=\"./?page=".$page."&num=999&sid="."\">All</a> ";
                        ?>
                        hatisblack at yahoo.com

                        Comment

                        • JSA Matt
                          So Fucking Banned
                          • Aug 2003
                          • 5464

                          #13
                          lol smokey

                          Comment

                          • Tipsy
                            Confirmed User
                            • Jul 2001
                            • 6989

                            #14
                            Originally posted by Helix
                            Irfanview is such a handy proggy, I am always amazed it's freeware.
                            Yep. Handy renaming tool too which saves shit loads of time when combined with the resizing.
                            Ignorance is never bliss.

                            Comment

                            Working...