![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 283
|
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.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
VIP
Industry Role:
Join Date: Jul 2013
Posts: 22,112
|
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. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Industry Role:
Join Date: Oct 2012
Location: Prague
Posts: 39
|
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, '<'); |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Posts: 283
|
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? |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Industry Role:
Join Date: Oct 2012
Location: Prague
Posts: 39
|
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>"? |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
Web Developer
Industry Role:
Join Date: Aug 2011
Location: Vancouver, BC, Canada
Posts: 189
|
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 |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Dec 2015
Posts: 210
|
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Sep 2015
Posts: 88
|
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.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#9 |
Registered User
Industry Role:
Join Date: Sep 2014
Posts: 33
|
If you still need help with this, I'll write you a quick script for free. Feel free to PM me.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Industry Role:
Join Date: Jan 2016
Posts: 300
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() |