Using SuSE 8.2, we have recently moved into the realm of digital images with a canon Ixus II.With advice from the list we have downloaded images via a usb card reader and all is well. My question is in respect to mailing images. What is the best way in linux to compress a jpg file, I apppreciate that there are various programs which will compress files or pack files into a zipped file, however this is for my wife who is less versed in most things technical. Is there a simple method of reducing the size of a jpg file using Gimp or another image software package that will enable her to save the image as a smaller file (jpg) and send it via email still in jpg format? Thanks, John __________ This email has been pre-scanned using the latest Anti Virus software for your peace of mind.
On Jan 26, 2004, at 8:32 PM, John wrote:
My question is in respect to mailing images. What is the best way in linux to compress a jpg file, I apppreciate that there are various programs which will compress files or pack files into a zipped file, however this is for my wife who is less versed in most things technical.
Well, files such as jpgs are already compressed. You can use bzip2 or gzip to do this before attaching the file to an email but she will not make it much smaller at all. Even Winzip can't do this. If she wants to gather a bunch of files together to email to someone then she is most likely to use tar for this. And because she's not a techie. I guess it's your job to read the man pages for these utils. :)
Is there a simple method of reducing the size of a jpg file using Gimp or another image software package that will enable her to save the image as a smaller file (jpg) and send it via email still in jpg format?
Well, regardless of what image editor (gimp, photoshop..etc) the size of the file depends on resolution, so if you have a 1600x1200 jpg and reduce it to 800x600 then it will be smaller. But a 1600x1200 jpg has a certain size depending on what dpi it was taken/scanned at. I would suggest having her play around with Gimp..specifically Gimp v2.0 which is just friggin lightyears above 1.2.x :) Hope that helps a bit. -- Ben Rosenberg -- mailto:ben@whack.org --- Power corrupts. PowerPoint corrupts absolutely.
Hi Ben, Thanks for the response.
My question is in respect to mailing images. What is the best way in linux to compress a jpg file, I apppreciate that there are various programs which will compress files or pack files into a zipped file, however this is for my wife who is less versed in most things technical.
Well, files such as jpgs are already compressed. You can use bzip2 or gzip to do this before attaching the file to an email but she will not make it much smaller at all. Even Winzip can't do this. If she wants to gather a bunch of files together to email to someone then she is most likely to use tar for this. And because she's not a techie. I guess it's your job to read the man pages for these utils. :)
Yep! It is my lot to read up on these issues :) ....
Is there a simple method of reducing the size of a jpg file using Gimp or another image software package that will enable her to save the image as a smaller file (jpg) and send it via email still in jpg format?
Well, regardless of what image editor (gimp, photoshop..etc) the size of the file depends on resolution, so if you have a 1600x1200 jpg and reduce it to 800x600 then it will be smaller. But a 1600x1200 jpg has a certain size depending on what dpi it was taken/scanned at. I would suggest having her play around with Gimp..specifically Gimp v2.0 which is just friggin lightyears above 1.2.x :)
Thanks for this I hadn't looked at the resolution issue, and that is obviously the key factor here as most the mailed images will only be looked at on a screen. I am still chasing my tail on the learning curve and Gimp, up until now has been overlooked. Loks like I had better have a closer loo.
Hope that helps a bit.
Yes, kindly appreciated. John __________ This email has been pre-scanned using the latest Anti Virus software for your peace of mind.
In addition to Ben's suggestions, you can also play around with the quality (compression) when saving the jpg in an image manipulation program. Be warned though the more you compress it, the worst the image will become. It is analogous to enoding an mp3 at a lower bitrate (both jpg and mp3 are lossy codecs). Charles -- Linux! Guerrilla UNIX Development Venimus, Vidimus, Dolavimus. (By mah@ka4ybr.com, Mark A. Horton KA4YBR)
On Tuesday 27 January 2004 04:32, John wrote:
Using SuSE 8.2, we have recently moved into the realm of digital images with a canon Ixus II.With advice from the list we have downloaded images via a usb card reader and all is well. Yay, that is "Step 1- the hardest part" :g:
My question is in respect to mailing images. What is the best way in linux to compress a jpg file, I apppreciate that there are various programs which will compress files or pack files into a zipped file, however this is for my wife who is less versed in most things technical. A jpeg is a compressed file. It is compressed in a "lossy" way which means the higher the compression on the image the "blockier" it is. Trying to compress it again with another program [winzip, zip, arc, rar, gz, bz2] may even result in a larger file size.
Is there a simple method of reducing the size of a jpg file using Gimp or another image software package that will enable her to save the image as a smaller file (jpg) and send it via email still in jpg format? In Gimp, go to "Image" [or right click, depending on version, then go to "image" and then select scale image. My suggestion would be to scale it to around 800x600 for email purposes. You can then save it and set its "quality" at 0.75 to 0.85 to produce fairly good results :)
You could perhaps use the "convert" commandline tool [part of ImageMagick iirc] and use one of the gui script/programming languages to create something she can drag and drop to :) Hope this helps in some way, shape, or form :)
On Tuesday 27 January 2004 1:28 am, The Purple Tiger wrote:
On Tuesday 27 January 2004 04:32, John wrote:
Using SuSE 8.2, we have recently moved into the realm of digital images ... What is the best way ... to compress a jpg file
A jpeg is a compressed file. ... Trying to compress it again ... may even result in a larger file size. [...] [in gimp] set its "quality" at 0.75 to 0.85 to produce fairly good results :)
For photographs, you can set the quality as low as .25 before "noticable" pixelation sets in -- I believe this is a slider control and will show you a "preview" as you move the slider (it may take a moment to re-render after you've moved the slider) so you can "experiment" with this a bit. I have done this for some LARGE "background" pictures for my website, and it managed to compress a 1.3 megapixel image down to 78k -- see http://osnut.homelinux.net/backgrounds/March.jpg for an example -- Yet another Blog: http://osnut.homelinux.net
For photographs, you can set the quality as low as .25 before "noticable" pixelation sets in -- I believe this is a slider control and will show you a "preview" as you move the slider (it may take a moment to re-render after you've moved the slider) so you can "experiment" with this a bit. I have done this for some LARGE "background" pictures for my website, and it managed to compress a 1.3 megapixel image down to 78k -- see Thats true, but at .25 it does [to me anyway] become too noticeable. I guess it depends on what the image is going to be used for :) The larger the image, the less it seems to suffer from the jpeg block effects due to the block size being effectively so small :) But yes, that is quite a funky example :) Do you do any other adjustments, like setting it for 1x1x1 instead of 2x1x1, and floating
On Tuesday 27 January 2004 15:19, Tom Emerson wrote: point? Just curious :)
http://osnut.homelinux.net/backgrounds/March.jpg
for an example
The Tuesday 2004-01-27 at 07:19 -0800, Tom Emerson wrote:
For photographs, you can set the quality as low as .25 before "noticable" pixelation sets in -- I believe this is a slider control and will show you a "preview" as you move the slider (it may take a moment to re-render after you've moved the slider) so you can "experiment" with this a bit.
Yes, gimps does that.
I have done this for some LARGE "background" pictures for my website, and it managed to compress a 1.3 megapixel image down to 78k -- see
However, notice that on download the image is expanded to the original size, in memory. I mean, resources on the browser are still large, if not on download time. -- Cheers, Carlos Robinson
The Tuesday 2004-01-27 at 15:32 +1100, John wrote:
My question is in respect to mailing images. What is the best way in linux to compress a jpg file, I apppreciate that there are various programs which will compress files or pack files into a zipped file, however this is for my wife who is less versed in most things technical.
Compressing to zip is not practical, because jpeg images are very compressed already. However, you can use a low compression level to put all the files on the same archive, be it zip, tar, etc - by the way. you can create tar.gz archives with the "text gui" mc, midnight comander (similar to the old Norton Comander for dos). On the other hand, for emailing it might be preferable not to do so, because as .jpg the images are directly visible on emails. Just remember not to send big emails - a 1 MB email can be very problematic for people using modems on noisy lines, for example.
Is there a simple method of reducing the size of a jpg file using Gimp or another image software package that will enable her to save the image as a smaller file (jpg) and send it via email still in jpg format?
- Reduce pixel count - Reduce number of colours - this doesn't work for jpg. - Reduce quality. In gimp it is click and shoot. Program "convert" is much faster for a list of similar images - command line, you know ;-) -- Cheers, Carlos Robinson
The Wednesday 2004-01-28 at 07:20 -0000, pinto wrote:
On Tuesday 27 January 2004 21:39, Carlos E. R. wrote:
because as .jpg the images are directly visible on emails
~ maybe, UUENCODE is handy ?
What for? I mean, what is the advantage? If you insert a jpg on an email most graphical capable mail client program will display the photo straight away, while if zipped or tarred, no. -- Cheers, Carlos Robinson
participants (7)
-
Benjamin Rosenberg
-
Carlos E. R.
-
Charles Philip Chan
-
John
-
pinto
-
The Purple Tiger
-
Tom Emerson