Reducing image size
Mike Ballon
mike.ballon at gmail.com
Wed Sep 24 12:59:28 MST 2014
You're image size really depends on how much size you want to save I guess,
although also if you're willing to have some non-visible pixel lose you
could convert them as well. You can start playing around with 2048x1536 or
similar just keep in mind your aspect ratio.
Here's the for loop I use for creating thumbnails, use as needed:
for i in `find "$LOCDIR" -iname "*hqw*"`
do
echo "$i"
TN=`echo "$i" | sed 's/hqw/tn/'`
echo "creating thumbmail for "$i" ..."
/usr/bin/convert -resize 200x200 "$i" -background none -gravity center
"$TN"
done
On Wed, Sep 24, 2014 at 1:53 PM, <techlists at phpcoderusa.com> wrote:
>
> Hi,
>
> I have about 9GB of photos. These images are 2560 X 1920 and are roughly
> 2mb each. I assume I could get away with a much smaller image.
>
> What size should I reduce these to?
>
> During my research most suggest using ImageMagick from the command line.
> Is this the best practice?
>
> I'm sure I will want to use some type of script since I do not want to do
> this one by one.
>
> Thanks in advance for your help!!
>
> Keith
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140924/bcee5cb2/attachment.html>
More information about the PLUG-discuss
mailing list