[ 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: 08:13:44 10/08/02 Tue
Author: Dave Bracken
Subject: Re: Antialiasing forgot something
In reply to: Dave Bracken 's message, "Re: Antialiasing" on 08:08:23 10/08/02 Tue

Also wanted to mention that you said the main bottleneck would be the saving of the files, because the tiff file gets larger and larger. I am not creating multi page tiffs. I am saving single page tiffs, so is the tiff file still getting larger with each scan, and if so can i free up the tiff file after each image is saved? How?


>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,
>>Hi Dave,
>>If it only slows down after 10-20 pages, then it is
>>not the anti-aliasing causing the problem because it
>>would occur on the first pages. You really need to
>>store the images in a faster storage mechanism than a
>>standard tiff file. Then after scanning save the
>>images to a tiff file. This is why I was suggesting
>>Qdb but you can use anything else that can store data
>>very fast. I found Qdb worked will directly at
>>run-time (no need to install components); just use the
>>TQdb class.
>>Best regards,
>>>Hello, again.
>>>Is there a way to tone down the antialiasing just a
>>>bit (i know it sounds stupid, but the antialiasing
>>>seems to be a little too good.). The problem is i am
>>>still getting some slow down after the first 20 pages
>>>or so. it seems to be going faster now than it was. I
>>>found some memory leaks in my software using
>>>and fixed them. (the memory leaks were my own
>>>stupidity by the way, not envision. I was creating
>>>FUndoGraphic when my program was started and
>>>recreating it for every transform and never freeing
>>>it, Duh!). But i still get a pretty good slowdown
>>>i have the antialiasing and zooming turned on in my
>>>I downloaded the qdb component (still not really sure
>>>how a database component can help) , but it wont
>>>So i am just wondering if there is a way to tone down
>>>the antialiasing without turning it off, or some
>>>way to speed up the transforms, etc..
>>>I am really sorry to keep bothering you with this,
>>>i need this software to work as fast as possible.
>>>Thanks again in advance for any help you can give.

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