IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Dunno where to put this - graphic compression
I need to take a series of TIF
files that are multi-page faxes.
I need to convert them to some
other format so save space.
It is OK to lose image quality.
If possible, I'd like to join
them together into a single multi-page
viewable file.

I was under the impression that FAX TIF
files are already highly compressed.
But I guess it can get better if I'm
willing to lose quality.

I've played with the convert and mogrify
utilities that come with ImageMagic,
but don't know what to use (or the
right way) to get them smaller.

Any pointers?
New jpegs are lossy
and you can save them specifying the level of loss you want..

I use gimp for this - I just change the scale of the image (usually so that it's 800 wide).

Hope This Helps!

Imric's Tips for Living
  • Paranoia Is a Survival Trait
  • Pessimists are never disappointed - but sometimes, if they are very lucky, they can be pleasantly surprised...
  • Even though everyone is out to get you, it doesn't matter unless you let them win.
New jpegs don't *have* to be lossy
But I don't know how well the 0% loss jpeg stacks up against PNG.
New Yup I know
I took the following
210147 a.tif
and did:

mogrify -scale 600x1200 -format jpeg *.tif
34815 a.jpeg.0
51699 a.jpeg.1
56333 a.jpeg.2
56718 a.jpeg.3

This cut the picture down to less than
1/4 the original size, and seems the limit
on viewable.

Which means I only save about 20%.

Can I do any better?
New PNG or JPEG
PNG is not lossy, I believe.

An appropriate forum would have been General Q&A, for future reference.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Thanks on the QA
I brainfarted.
New More to the point (follow the line...)

...JPEG compression works by identifying regions of similar shading or color, and averaging large blocks together. PNG/GIF tends to be more vector oriented, and maps lines.

\r\n\r\n

Result: JPEG works pretty well for images and paintings (blobs of color). PNG/GIF works better for line drawings and text, uses where JPEG tends to produce "edge jitter".

--\r\nKarsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
New Faxes would be "bi-level" images, and the best
compression results would come from [link|http://www.cl.cam.ac.uk/~mgk25/jbigkit/|JBIG] (Joint Bi-level Image experts Group) standards group.
* Close to state-of-the-art lossless compression ratio for high resolution bi-level images.
* Around 1.1 to 1.5 times better compression ratio on typical scanned documents compared to G4 fax compression (ITU-T T.6), which has been the best compression algorithm for scanned documents available prior to JBIG.
* Up to 30 times better compression of scanned images with dithered images compared to G4 fax compression.
* Around 2 times better compression on typical 300 dpi documents compared to 'gzip -9' on raw bitmaps.
* Around 3-4 times better compression than GIF on typical 300 dpi documents.
etc.
Alex

"I have a truly marvelous demonstration of this proposition which this margin is too narrow to contain. -- Pierre de Fermat (1601-1665)
New I thought faxes support gray-scale?
--

We have only 2 things to worry about: That
things will never get back to normal, and that they already have.
New No. Group 3/group 4 compression of a fax is bi-level.
Now, you can use it for [link|http://desktoppub.about.com/library/weekly/aa090600a.htm|halftone] images. But any given pixel is either black or white. Your eye and brain integrate the pixels over the local area to see grays. This is exactly what you have in a newspaper picture. On any given spot you either have or not have ink. The local ratio of black to white in an area gives you the effect of grays.

Pull out your magnifying glass and take a close look.
Alex

"I have a truly marvelous demonstration of this proposition which this margin is too narrow to contain. -- Pierre de Fermat (1601-1665)
     Dunno where to put this - graphic compression - (broomberg) - (9)
         jpegs are lossy - (imric) - (2)
             jpegs don't *have* to be lossy - (wharris2)
             Yup I know - (broomberg)
         PNG or JPEG - (admin) - (2)
             Thanks on the QA - (broomberg)
             More to the point (follow the line...) - (kmself)
         Faxes would be "bi-level" images, and the best - (a6l6e6x) - (2)
             I thought faxes support gray-scale? -NT - (Arkadiy) - (1)
                 No. Group 3/group 4 compression of a fax is bi-level. - (a6l6e6x)

I swear, if I had the Holy Hand Grenade that hamster would be a blood pie.
49 ms