Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-29-2005, 07:55 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Image Compression

Are there any linux programs out there that can compress an image size? I want to take a jpeg and convert it to a smaller size. I have a program in windoze that will do this, its called "Image Optimizer", but I want something like it for my linux box. thx
Old 04-29-2005, 08:05 PM   #2
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
I'm afraid there is no "lossless" further complression of JPEG images.

If you are aware of the consequences (e.g. lost image quality, artefacts, reduced resolution, ...), you can use "gimp" ( for interactive use or the "imagemagick" package ( for batch.
Old 04-29-2005, 08:09 PM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
If you have Linux installed and running, you may also have ImageMagic (if not, get it and install it). Use the mogrify option to resize an image to a smaller size. Resizing to a larger size is limited (eventually images begin to blur). You can always go smaller and retain a sharp image; going larger has its limits.

PS: there is a difference between compressing an image and resizing an image. Compressing can be a problem, becausing some image formats are already compressed. Resizing, on the other hand, changes the size of the image, but doesn't compress the image. Failure to grasp the difference means failure in your attempts to get the image in the size you want. Compressed = smaller file size; resized = smaller image size.

Last edited by bigrigdriver; 04-29-2005 at 08:13 PM.
Old 04-30-2005, 09:52 AM   #4
LQ Newbie
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Originally posted by bigrigdriver Compressed = smaller file size; resized = smaller image size.
Thanks for your help.

Thats what I want to do just compress them. I dont want to resize them. I basically just want them to appear on web pages faster.

Looks like my options are either Gimp or ImageMagick. I will play around with those and see what I can come up with.

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compression Printing Darrellhugh Linux - General 1 02-09-2005 09:49 AM
compression oldstinkyfish Linux - Software 2 12-02-2004 02:53 PM
IPSec compression Smooth Linux - Security 1 08-28-2004 05:57 AM
batch image resize and compression Darkfalz Linux - Software 3 08-01-2004 02:08 AM
best compression drigz Linux - Software 2 06-05-2004 07:38 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration