VoyForums

VoyUser Login optional ] [ 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:08:23 10/08/02 Tue
Author: Dave Bracken
Subject: Re: Antialiasing
In reply to: Michel 's message, "Re: Antialiasing" on 18:02:33 10/07/02 Mon

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

>
>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,
>
>Michel
>
>>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 memproof,
>>and fixed them. (the memory leaks were my own
>>stupidity by the way, not envision. I was creating the
>>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 when
>>i have the antialiasing and zooming turned on in my
>>software.
>>I downloaded the qdb component (still not really sure
>>how a database component can help) , but it wont
>>install.
>>So i am just wondering if there is a way to tone down
>>the antialiasing without turning it off, or some other
>>way to speed up the transforms, etc..
>>I am really sorry to keep bothering you with this, but
>>i need this software to work as fast as possible.
>>
>>Thanks again in advance for any help you can give.
>>Dave

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


Replies:


[ Contact Forum Admin ]


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