Batch GIF resizing program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PeR930
    Confirmed User
    • Dec 2012
    • 283

    #1

    Batch GIF resizing program

    What are some good programs that can batch resize animated GIFs? I have about 40K animated gifs I need to process.
  • j3rkules
    VIP
    • Jul 2013
    • 22111

    #2
    I use Gif Movie Gear for all of my .GIF work, but FAIK it doesn't do batch and isn't free.

    Back in the day, I used Jasc Image Robot for mass-resize on gif's for webpages. No idea if it's still around.

    Comment

    • dobry_den
      Registered User
      • Oct 2012
      • 39

      #3
      Install ImageMagick (ImageMagick: Convert, Edit, Or Compose Bitmap Images) and use it from the command line or search for the ImageMagick bindings/wrappers for your favorite language.

      For example, for Node.js, there's gm : GraphicsMagick for node.js. Could write a simple loop that resizes your gifs locally.

      Off the top of my head:

      Code:
      var gm = require('gm');
      
      // Resize gif to a width of 100px (preserving aspect ratio)
      // if it's wider than 100px
      gm('example.gif').resize(100, null, '<');

      Comment

      • PeR930
        Confirmed User
        • Dec 2012
        • 283

        #4
        Thanks for the tips.

        I was thinking about Imagemagick but it seems more complicated to setup, though cheapest option. I may have to try it out.

        Does anybody have any other suggestions?

        Comment

        • dobry_den
          Registered User
          • Oct 2012
          • 39

          #5
          Yeah, if you're not a programmer, ImageMagick might be a bit too out of reach.

          Have you had any luck with any of the programs that come up when you google "batch image resizer <windows/osx/linux>"?

          Comment

          • PSDan
            Web Developer
            • Aug 2011
            • 189

            #6
            iRedSoft's BatchImage is a good one that I have used. Little pricey as graphics apps can be, but less than many. They have a free trial. Really easy to use, and lots of features. Produces great results.

            Batch Image Processing - Simplifying Imaging Complexity

            Dan
            Password Sentry
            The better app for better websites for better website password protection!

            Follow Us on Twitter

            Like Us on Facebook

            Follow Us on LinkedIn

            Subscribe to Our YouTube Channel

            Comment

            • WorldOfPorn
              Confirmed User
              • Dec 2015
              • 210

              #7
              ImageMagic.org.
              85% off on 2 sites for sale - adultCelebs.com and xModelsPics.com - pornstars / babes niche

              Comment

              • tomash999
                Confirmed User
                • Sep 2015
                • 88

                #8
                There are tutorials for ImageMagic on YouTube. Also Google "How to list image files in a directory" and you will have the 2nd part of the script above.

                Comment

                • MassTuber
                  Registered User
                  • Sep 2014
                  • 33

                  #9
                  If you still need help with this, I'll write you a quick script for free. Feel free to PM me.

                  Comment

                  • muthisdev
                    Confirmed User
                    • Jan 2016
                    • 300

                    #10
                    Originally posted by ViPeR_930
                    What are some good programs that can batch resize animated GIFs? I have about 40K animated gifs I need to process.
                    Like others pointed out, imagemagick will do.

                    Example:
                    convert [INFILE] -gravity center -resize '400x300' -crop 400x300+0+0 +repage [OUTFILE]

                    This takes [INFILE] and makes a 400x300 file called [OUTFILE]

                    Should be easy to make a large batchfile that runs through your GIFs one by one.
                    <?= base64_decode("aHR0cDovL211dGhpc2Rldi5jb20v") ?>

                    Comment

                    Working...