To reduce file-size you usually need to reduce the image size. Alternatively to can convert to another format like gif jpg or png, but if the image is already in one of these formats it might not help with filesize. (Just open in something like gThumb image viewer and choose save as..)
If you have huge images which you need to reduce in size then an easy command line tool is 'convert' from ImageMagick package
Code:
su -c 'yum install ImageMagick'
Then to reduce an image size by 50% do:
Code:
convert image.jpg -resize 50% image_new.jpg
To reduce a whole load of images in a directory do
Code:
for i in *.jpg; do convert "$i" -resize 50% "${i%%.jpg*}_new.jpg"; done
or for subdirectory recursion and filenames with spaces do
find . -type f -name "*.jpg" | while read i; do convert "$i" -resize 50% "${i%%.jpg*}_new.jpg"; done