• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Is there a program out there that will shrink image file's size...

gregor7777

Platinum Member
that has some kind of batch run type feature?

Essiantially we have many, many images that are sent out on almost a daily basis from our digital cameras, but they are big, like 700k each.

These are being emailed so needless to say they can fill a inbox up pretty qick.

Is there a program where I can run like 20 or more at a time through it and it automatically reduces the file size like photoshop can, with anywhere near photoshop quality?

Thanks,

greg
 
Irfanview is good, but I've been using a program called ImageMagick. It's a command line image manipulation program.

I wrote a DOS batch script that makes thumbnails for any image that doesn't already have a thumbnail. We plan to run it on a server with 40,000 images that have no thumbnails. From my testing, ImageMagick is faster than PS or Irfanview.
 
so is irfanview command line

now if you wish to resize images in linux this script works great. Used it many times.

#!/bin/bash

# Copyright (C) 1999 Maxim Heijndijk

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# Email: cchq@wanadoo.nl"

# Uncomment the next line for debugging.
# set -x

if [ -z "$1" ]; then
echo -e "Usage: $0 <input-directory> <output-directory>
<image-resolution>"
sleep 2
exit 1
fi

if [ ! -d "$1" ]; then
echo -e "Input directory \"$1\" does not exist, exiting...."
sleep 2
exit 1
fi

[ -d "$2" ] || mkdir -p "$2"


# If you want suffix renaming, uncomment the following lines.
#SUFFIXES=(jpeg JPEG JPG)

#for SFX in ${SUFFIXES[@]} ; do
# for FILE in $1/*.${SFX} ; do
# BASENAME=`basename ${FILE} ${SFX}`
# if [ "${BASENAME}" != "*." ]; then
# mv -f $1/${BASENAME}${SFX} $2/${BASENAME}jpg
# fi
# done
#done

for FILE in $1/*.jpg ; do
BASENAME=`basename ${FILE}`
convert -geometry "$3" \
-comment "%w%h" \
-normalize \
-quality 100 \
-verbose \
${FILE} $2/${BASENAME}
done

exit 0
 
Back
Top