ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Size of when selection takes place
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

BionicWave

Germany
33 Posts

Posted - Mar 09 2012 :  12:20:44  Show Profile  Reply
I have asked that question some 2-3 years ago. Unfortunately the old posts are gone :-(

I have an image which is very small. To select single pixel lines i need a fine grayned selection-mouse. There was a parameter with which you could set the width of the selection.
Could you tell me which parameter that was?

I did some research. It was a TImageEnVect at the time and this has MaxSelectionDistance. But now i use a TImageEnView. Is there a big difference between the two in terms of memory-/speed footprint? I dont need vectorial-objects. I use only bitmaps (png).
Or is there a hidden parameter i can use for the ImageEnVect?

fab

1310 Posts

Posted - Mar 09 2012 :  12:41:08  Show Profile  Reply
quote:
I have an image which is very small. To select single pixel lines i need a fine grayned selection-mouse. There was a parameter with which you could set the width of the selection.
Could you tell me which parameter that was?


What do you mean for "width of the selection"?
It is possible to set the "depth" of selection, in terms of bits used to specify whether a pixel is selected or not. Default is 1 bit (selected/unselected, but it is possible to set 8 bits (0=unselected...255 maximum selection). The property is SelectionMaskDepth.

quote:
I did some research. It was a TImageEnVect at the time and this has MaxSelectionDistance. But now i use a TImageEnView. Is there a big difference between the two in terms of memory-/speed footprint? I dont need vectorial-objects. I use only bitmaps (png).


TImageEnVect, without vectorial objects, allocates only few objects and one or two GDI objects.

quote:
Or is there a hidden parameter i can use for the ImageEnVect?


to do what?
Go to Top of Page

BionicWave

Germany
33 Posts

Posted - Mar 09 2012 :  16:03:17  Show Profile  Reply
It was "MaxSelectionDistance" what i ment.
Go to Top of Page

fab

1310 Posts

Posted - Mar 10 2012 :  00:59:31  Show Profile  Reply
Yes but MaxSelectionDistance applies only to how vectorial objects are selected. It doesn't apply to selected image areas (it does not have sense in image selection context).
IMO the unique way to make fine selecting an area is to increase the zoom.
Go to Top of Page

BionicWave

Germany
33 Posts

Posted - Mar 10 2012 :  13:03:21  Show Profile  Reply
I´m realy sorry, Fabrizio.

After your last response i dig into my selection routines and
found the problem. I did a false proof on the mouseposition.
So you had to be 1 pixel inside the actual saved selection.

On the other hand i would never have found it without your answers.

Thanks for helping
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: