LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-24-2009, 06:26 PM   #1
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Rep: Reputation: 30
File Roller: how to set compression ratio? How to preserve all color info in JPEGs?


How is the compression ratio set when creating archives in File Roller? If an archive of JPEG images is compressed, can it be un-compressed so all the color information of the original image is intact?

I have occasion to send sets of image files, usually JPEG format, to Windows users. They have the native ability to manipulate ".zip" archives, so that is my preferred archive format. However, File Roller's default compression ratio when creating ".zip" archives is 1:1 and I can't figure out how to increase it. At that rate, I may as well just attach individual photos to e-mails, or, in the case of a set of many images (often the case), go through the hassle and expense of burning the images to a CD and send them by surface mail.

I don't want to compress or reduce the resolution of the JPEG's-- I want my correspondents to receive high-resolution images with the broadest color-range possible, best-suited for printing. Otherwise, I could just optimize the JPEG's for web publication and upload them to my MySpace photo album. But that isn't the best quality for printing, which usually is my goal.

Any help increasing the compression ratio in ".zip" format with File Roller would be appreciated, and any advice as to whether all the JPEG color information can be recovered when the archive is un-compressed, would be appreciated. By the way, this is version #2.22.4 of File Roller.

Many thanks and best regards to all.
 
Old 03-24-2009, 07:24 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
first when you " zip, bz2, gz,... " a folder There is NO DATA LOST so this -
Quote:
can it be un-compressed so all the color information of the original image is intact?
so this question is mute and dose not apply and ( the statement is a false one )
zip dose not work that way
Quote:
However, File Roller's default compression ratio when creating ".zip" archives is 1:1 and I can't figure out how to increase it.
you can NOT "increase it"
the jpg's are already compressed so the zip file is just a container , so there is no further compression on them when you zip them .
Quote:
Any help increasing the compression ratio in ".zip" format with File Roller would be appreciated,
this is imposable, a zip archive will not recompress a already compressed jpg

Personally i think jpg's should be illegal seeing as they are " lossy compression " in that a photo editor MUST through out image data in order to save to a jpg

i use png's they are "lossless compression " ( uses zlib)
 
Old 03-25-2009, 05:29 PM   #3
JaksoDebr
Member
 
Registered: Mar 2009
Distribution: Fedora, Slackware
Posts: 104

Rep: Reputation: 21
File-roller itself is very easy - it doesn't make any attempt to provide sophisticated settings. As a front-end to common system tools (like tar and gzip) it will simply use the default settings for those tools.

Using common compression tools on JPEG images will not really bother with colors and quality - it will simply try to compress the file as any other binary file. So the JPEG file will be exactly the same after un-compressing. Archiving tools are not supposed to allow data-loss. JPEG files are usually quite well compressed on their own, so compression tools usually can not yield spectacularly small sizes (unlike TIFF files, which can be compress greatly sometimes, depending on tag contents).

Linux Archive

Last edited by JaksoDebr; 04-02-2009 at 05:20 AM.
 
Old 03-30-2009, 12:53 PM   #4
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Original Poster
Rep: Reputation: 30
*solved* JPEG compression

Thanks, everyone, for clarifying my basic misconceptions about the nature of JPEG and compression. Now I "get it".
 
  


Reply



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
File Roller 2.24.3 910Radar Linux - Software 0 03-13-2009 10:59 AM
Preserve aspect ratio on a widescreen LCD monitor jbum Slackware 1 08-06-2008 12:44 AM
question about using jpegtran for lossless compression of jpegs syssyphus Linux - Software 0 10-09-2006 07:12 PM
Find File broken, need search utility, where does WineX install, KDE file roller? Ohmn Mandriva 6 07-05-2004 10:34 PM
file-roller 2.6 question doralsoral Linux - Software 4 05-28-2004 01:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 PM.

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