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


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

Date Posted: 06:24:31 10/11/02 Fri
Author: Michel
Subject: Re: Antialiasing Found The Problem(I Think)
In reply to: Dave Bracken 's message, "Re: Antialiasing Found The Problem(I Think)" on 07:58:21 10/10/02 Thu


Hi Dave,

For the Virtual Memory Minimum Too Low error the best approach would be to run your program in MemProof in the same conditions. It could be in the scanner driver.

Best regards,

Michel

>Hello Michel,
>I seem to have found the problem. First let me say im
>sorry for bombarding you with questions about
>envision, because the problem seemed to be with the
>ISIS scanning control that we are using. Apparently,
>the scanning control has a property for using the
>scanner to perform compression on the images, which by
>default is set to true, and i never changed it.
>I finally changed that to false, set the image format
>before save, and create a TTiffGraphic instead of a
>TDibGraphic, and allow Envision to handle the file
>compression. Now my software seems to run very fast
>and smooth.
>The only problem i am having now is:
>After scanning for about 2 1/2 hours or so, we recieve
>a "Virtual Memory Minimum Too Low" error, but if we
>click ok we can continue scanning with no problems. I
>am pretty sure that is a hardware problem.
>
>Well, thanks again for your patience and help. This
>really is the greatest image library i have worked
>with. Keep up the good work. Looking forward to the
>next great release of the Envision image library!
>
>Thank you,
>Dave
>
>
>
>>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,
>>
>>Michel
>>
>>>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
>>>version.
>>>
>>>Thanks again,
>>>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.