[ 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: 1234[5]678910 ]

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

Date Posted: 07:17:16 10/09/02 Wed
Author: Michel
Subject: Re: Antialiasing
In reply to: Dave Bracken 's message, "Re: Antialiasing" on 08:08:23 10/08/02 Tue

Hi Dave,

For #1, I assume you are using ShowUI is False in TScanner. You should set the RequestedImageFormat before scanner, and not perform an image format transform. When scanning BW there should be no need to convert the format. Also, I prefer ShowUI = True, because often Twain drivers have other options which are not available is you set ShowUI = False.

#2, The RowsPerStrip is an internal parameter of tiff files. It does not make that much difference. You may save a few bytes by making it larger (try something between 100 and 1000).

#3. Yes as mentionned in my other reply use a TTiffGraphic and SaveToFile directly. Also, create the TTiffGraphic outside the call will avoid create/destroy every time.

Best regards,


>Hi Michel,
>Then i guess the next questions i have is:
>1. If you do not set the image format in the code
>anywhere is there a default image format used? I was
>not sure so i created a TImageFormatTransform, and
>call that before i save out each image, setting it to
>ifBlackWhite, and then setting the compression to
>tcGroup4 using the following statement:
>TTiffGraphic(Graphic).Compression := tcGroup4;
>2. What is the RowPerStrip stuff? should i be setting
>this for my tiff files to make them smaller?
>3. When my images are scanned in they are stored by
>the scanner in an hdib property. I am then declaring a
>TDibGraphic to get that and assign it to the
>imagescrollbox control using the following code:
> Graphic := TDibGraphic.Create;
> Graphic.AssignFromDibHandle(hdib);
> ImageScrollBox.Graphic := Graphic;
> Graphic.Free;
>Should i maybe replace the first line to create a
>TTiffGraphic instead of a TDibGraphic?
>I hope you dont mind all these stupid questions,but i
>am relatively new to Delphi, and very new to working
>with graphics on a programming level. So please bear
>with me, i will eventually get this.
>And believe me when i say, this is one of the coolest
>image libraries i have seen, and we tested a few
>before deciding on Envision. Even Pegasus ImageXpress
>couldnt compete against Envision. We look forward to a
>long and healthy relationship with Interval Software
>and the Envision Library. Can't Wait to see the new
>Thanks again,

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