View Full Version : photo compression utility suggestions
showe1966
February 8th, 2008, 03:14 PM
hi i always have to send lots of photos via the web.
so i take photos with my wizzo digital camera, and have to compress them down to 150-200k each from the photo size of 1.5 megs.
i know there is a neat way of doing this in photoshop, but there is nothing like that in the gimp.
does anyone know of a package for linux that does this ?
if not, i might be prepared to pay a geek or two of you to write me some software to do this.
nothing fancy; in fact, the command line would be better then i can write scripts to run my compressions.
kevinatkins
February 8th, 2008, 03:17 PM
Hi,
You could take a look at some of the various photo management applications available. I know for sure that digikam has a feature to email pictures, automatically compressing them for you; Google's Picasa also has a similar feature..
arigram
February 8th, 2008, 03:23 PM
How about trying out Phatch?
You can do all sort of batch processing to your images with a very comfortable GUI.
http://photobatch.stani.be/
showe1966
February 8th, 2008, 03:32 PM
i need something open source that works with ubuntu preferrably and will be updated with apt
vanadium
February 8th, 2008, 04:01 PM
but there is nothing like that in the gimp
Why do you think that? Anyway, besides the options already given, there is also the imagemagicks convert program.
stani
February 10th, 2008, 08:47 AM
How about trying out Phatch?
You can do all sort of batch processing to your images with a very comfortable GUI.
http://photobatch.stani.be/
In Phatch you can compress your images and even specify the desired size of the jpeg. As Phatch is a new program it is not available through apt in Gutsy. In Hardy however you will be able to install with apt. Now you can install it easily as a deb from the website with gdebi.
Stani
kostkon
February 10th, 2008, 08:51 AM
hi i always have to send lots of photos via the web.
so i take photos with my wizzo digital camera, and have to compress them down to 150-200k each from the photo size of 1.5 megs.
i know there is a neat way of doing this in photoshop, but there is nothing like that in the gimp.
does anyone know of a package for linux that does this ?
if not, i might be prepared to pay a geek or two of you to write me some software to do this.
nothing fancy; in fact, the command line would be better then i can write scripts to run my compressions.
I would use gThumb, it's already installed in your system. Just choose to lower the quality and/or size of the jpegs and then do the batch conversion.
Half-Left
February 10th, 2008, 09:53 AM
Just use GIMP to compress them down using jpg, it give you a preview of the filesize as in realtime. Just save as jpg and the box will come up for compression quality.
stani
February 10th, 2008, 05:25 PM
nothing fancy; in fact, the command line would be better then i can write scripts to run my compressions.
In Phatch you can first create and save an actionlist with the GUI in which you can resize the image and set the target size to 150k in the save action. Let's say you save this actionlist as "resize_150k.phatch". Afterwards you can run phatch from the command line in your scripts and it will run without a gui in the terminal:
phatch resize_150k.phatch image_folder
Phatch is the only program on linux AFAIK which lets you save jpegs with a predefined image size. (With gthumb, nautilus-converter, imagemagick, etc... you can set the image dimensions, but have no direct control on the image size.) Gimp has a preview with an indication of the file size, but for each photo you will have to open each file individually and to find out with the slider the right quality settings. In Phatch you can process any amount of image files or folders with one click or one command line.
I'm the author of Phatch, so if it doesn't do what you want, just let me know.
bharadwaj
February 11th, 2008, 02:50 AM
thanyou for a use ful post Right now I know how to compress my pictures also
jcornuz
February 11th, 2008, 05:04 AM
Hi there,
I think it depends what you need to do:
If you just have a couple of pictures to resize and send with the best possible quality, the Gimp with a bit of unsharp mask will give you the best output - but it requires to process each photo separately.
If you have hundreds of pictures to resize, then Phatch is what you need - it will do it automagically for you - but it is not optimized for each different picture.
Another more technical solution, would be to write a batch script using ImageMagick where you can have a lot more flexibility than Phatch (like calculate parameters for an unsharp mask depending on the start / end sizes of your pictures) at the cost of more complexity for writing the script. See an example here (http://jcornuz.wordpress.com/2007/10/26/imagemagick-and-bash-batch-power/).
It is all about freedom and choice, right :)
Take care,
Joel
meho_r
February 11th, 2008, 09:08 AM
In Phatch you can first create and save an actionlist with the GUI in which you can resize the image and set the target size to 150k in the save action. Let's say you save this actionlist as "resize_150k.phatch". Afterwards you can run phatch from the command line in your scripts and it will run without a gui in the terminal:
phatch resize_150k.phatch image_folder
Phatch is the only program on linux AFAIK which lets you save jpegs with a predefined image size. (With gthumb, nautilus-converter, imagemagick, etc... you can set the image dimensions, but have no direct control on the image size.) Gimp has a preview with an indication of the file size, but for each photo you will have to open each file individually and to find out with the slider the right quality settings. In Phatch you can process any amount of image files or folders with one click or one command line.
I'm the author of Phatch, so if it doesn't do what you want, just let me know.
Wow, I've just learned of Phatch and I really like it :D One of the "must have" apps (at least for me). Thanks.
stani
February 18th, 2008, 11:31 AM
Wow, I've just learned of Phatch and I really like it :D One of the "must have" apps (at least for me). Thanks.
Thanks! I just released a new version of Phatch and it will be part of Ubuntu Hardy!
joblom
August 30th, 2008, 02:03 PM
Stani.....can't get to your site ( sd-2986.dedibox.fr ) to download phatch. It tries for a few minutes and then times out. I really want to give it a try because it sounds perfect for me.
stani
August 30th, 2008, 03:32 PM
Stani.....can't get to your site ( sd-2986.dedibox.fr ) to download phatch. It tries for a few minutes and then times out. I really want to give it a try because it sounds perfect for me.
Yep, I know. My web sponsor is working on it. It will be back, no worries. But if you use Ubuntu, there is no need to download it from the site. Just do:sudo apt-get install phatch
joblom
August 30th, 2008, 11:12 PM
Thanks bunches, Stani. I got it and it's fantastic. Did a couple of test runs and it works great. Love it! Now to tackle my thousands of photos....literally.
alecspoons
September 9th, 2008, 05:11 AM
Phatch was the exact thing I was looking for to compress photos before emailing them to my Dad (he only has dial-up).
Thanks - worked like a charm!
vedavrata
April 8th, 2010, 12:57 PM
I use gThumb under Ubuntu Linux.
When i save a JPEG file, i just can specify a Quality (%) but i can not see the old and the new file size, as well can not see the image difference (what i would lose), can't i ?..
How to see the both old (original) / new (will be saved) file size of JPEG file?
How to see the both old (original) image / new (will be saved) image simulaneously [in two modes "Fit to half a widnow / fit to half a widnow" and "No fit / no fit (i.e. 1:1 / 1:1)"] to evaluate visual quality ?
mcduck
April 8th, 2010, 02:34 PM
I use gThumb under Ubuntu Linux.
When i save a JPEG file, i just can specify a Quality (%) but i can not see the old and the new file size, as well can not see the image difference (what i would lose), can't i ?..
How to see the both old (original) / new (will be saved) file size of JPEG file?
How to see the both old (original) image / new (will be saved) image simulaneously [in two modes "Fit to half a widnow / fit to half a widnow" and "No fit / no fit (i.e. 1:1 / 1:1)"] to evaluate visual quality ?
Use Gimp, and install the "Save for Web"-plugin and you'll get a real-time preview how different options affect the image quality & file size.
vedavrata
April 13th, 2010, 09:49 AM
Use Gimp, and install the "Save for Web"-plugin and you'll get a real-time preview how different options affect the image quality & file size. I installed and tried to use...
File -> Save for Web
But it does not show neither the original file size not the original image. :(
JustLuis
December 21st, 2010, 01:03 AM
Phatch rules! thanks Stani, it really helped out here :p
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.