[ 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: 1234567[8]910 ]

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

Date Posted: 13:23:30 06/01/01 Fri
Author: Ann Weaver
Subject: Re: How save BW image as JPEG?
In reply to: Ann Weaver 's message, "Re: How save BW image as JPEG?" on 13:21:47 06/01/01 Fri

Well, I don't actually know if the tools are yours or not but I like them none-the-less. ;o)

Thanks again!

>Actually it worked pretty well. The conversion slows
>down the process a little but no too bad. The image
>quality is acceptable. Even the printing of the
>documents is readable.
>I really appreciate your help and your tools.
>>Hi Ann,
>>The best thing is to try it out. If the quality and
>>image size is acceptable, .jpg will be the most
>>versatile to display on the web. The only other
>>option, is png, which is now supported on most
>>browser. You would get better quality and compression
>>with png.
>>Best regards,
>>>I realize this is not necessarily a good idea but the
>>>images we are scanning here need to be in a format
>>>that can be accessed via a web interface. The
>>>specifically requested the .jpg format. Basically
>>>these are black and white documents with signatures
>>>that are being scanned for historical reasons
>>>(eliminating a paper trail that is hard to go back
>>>find for proof of signature). The barcode on the
>>>document is a number that is being used in a
>>>system for tracking purposes against clients. When
>>>there is a dispute they want to be able to lookup
>>>number and then go into this system to reference the
>>>image of the original document and be able to
>>>print/fax the copy as proof of the transaction. They
>>>don't want to have to sift through paper documents
>>>unless they have to.
>>>Is there a better format that I should be trying to
>>>convince them to use? TIFF is out as they already
>>>that was a definite NO. They opted for JPEG for it's
>>>versatility. Image quality is not that important as
>>>long as the document is readable. Although better
>>>quality is good of course.
>>>Thanks for your help. I will give that a try tonight
>>>to see how that works out.
>>>>Hi Ann,
>>>>The TJpegGraphic will allow saving images that have
>>>>image format of ifTrueColor or ifGray256.
>>>>I would first convert you image to ifGray256, using
>>>>the TImageFormatTransform class. There is an example
>>>>of this in the DemoForm.Pas unit,
>>>>FormatConversionMenuClick event handler. Then you
>>>>be able to save it as a JPG.
>>>>Saving BW images in JPG is generally not a good idea
>>>>though. JPG is optimized to compress color images,
>>>>slightly degrades the quality. For BW images, you
>>>>would get better compression with Tiff group IV
>>>>compression, and there is no quality loss.
>>>>Best regards,
>>>>>I have an application that acquires images from a
>>>>>scanner in Black & White and then detects a barcode
>>>>>the image. I then want to save the image to disk as
>>>>>.jpg with a filename of the barcode result.
>>>>>I have to scan the image as BW for the barcode
>>>>>detection to work.
>>>>>Everything is working great with the exception that
>>>>>cannot save a BW image to a .jpg. I can save to a
>>>>>Bitmap but I need .jpg. How can I convert the
>>>>>so it can be saved as a .jpg?
>>>>>I am a registered user of the Envision library and
>>>>>using the Pegasus SmartScan Xpress software to
>>>>>the barcode in the image.
>>>>>Can anyone provide any assistance?

[ 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.