VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 06:27:42 03/26/03 Wed
Author: Michel
Subject: Re: Jpeg compression? vs Tif?
In reply to: Dave Bracken 's message, "Jpeg compression? vs Tif?" on 16:30:56 03/25/03 Tue


Hi Dave,

I have had the same problem on a project I have worked on. The bottom line is that JPEG is not good for BW images. It is designed for photographic images. Converted a BW to 256 grayscale already increased the storage requires by 8, and the JPG does not do a good job at compressing it.

What I have done is use Tiff G4 for BW, and PNG for color 16/256, and JPG for true color. If these are to be displayed in a browser, PNG for BW will be better than JPG.

Best regards,

Michel

>Hello Michel,
>I have a scanning app that allows users to choose
>between 3 different formats when scanning. Tif, Jpeg,
>Bmp. When i scan the tif, i set the compression to
>tcGroup4. The file i am testing with ends up around 40
>k. Then i switch to jpeg, and scan the exact same file
>and it throws an exception because it does not seem to
>know the image is in greyscale, so i handle the
>exception and transform the image to greyscale. The
>resulting file size is about 400 k. Why is it doing
>this?
>I have verified that my scanner settings are set to
>256 gray before scanning. The dpi is set to 200.
>
>How do i let envision know the image is already
>greyscale, and then compress it down. I looked in your
>example app, but could not find any code pertaining to
>jpegs and how to compress them.
>Right now our scanners will only support black and
>white or greyscale images. But we soon will be
>scanning in color as well. The file size of the
>resulting jpegs are much to large for our purposes, so
>any help you can give in this matter would be greatly
>appreciated.
>
>Thanks in advance,
>Dave

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.