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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Selection and Big image

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
graphman Posted - Jan 25 2013 : 08:06:48
I have image with big height (40.000 pix).
I try to select part of image (Selection) but after 30.000 pix I don't see selection rectangle.

How to fix it?
13   L A T E S T    R E P L I E S    (Newest First)
graphman Posted - Feb 01 2013 : 13:43:16
Thanks.
I will wait new release.
fab Posted - Feb 01 2013 : 13:34:44
Now I can replicate, thank you!
It will be fixed in next release.

You can fix now opening imageenview.pas and replacing following methods:


function TIELayer.ConvXScr2Bmp(x:integer):integer;
var
  ieview: TImageEnView;
begin
  ieview := (fOwner as TImageEnView);
  if Width <> 0 then
    result := trunc( 1.0 * ieview.XScr2Bmp(x - trunc(PosX * ieview.fZoomD100X)) * Bitmap.Width / Width )
  else
    result := 0;
end;


function TIELayer.ConvYScr2Bmp(y:integer):integer;
var
  ieview: TImageEnView;
begin
  ieview := (fOwner as TImageEnView);
  if Height <> 0 then
    result := trunc( 1.0 * ieview.YScr2Bmp(y - trunc(PosY * ieview.fZoomD100Y)) * Bitmap.Height / Height )
  else
    result := 0;
end;


function TIELayer.ConvXBmp2Scr(x:integer):integer;
var
  ieview: TImageEnView;
begin
  ieview := (fOwner as TImageEnView);
  result := ieview.XBmp2Scr(trunc(1.0 * x * Width / Bitmap.Width)) + trunc(PosX * ieview.fZoomD100X); 
end;


function TIELayer.ConvYBmp2Scr(y:integer):integer;
var
  ieview: TImageEnView;
begin
  ieview := (fOwner as TImageEnView);
  result := ieview.YBmp2Scr(trunc(1.0 * y * Height / Bitmap.Height)) + trunc(PosY * ieview.fZoomD100Y);
end;
graphman Posted - Feb 01 2013 : 04:47:27
I have ctreate answer here (forum) and attached zip-archiv.

I have resent to this e-mail
xequte Posted - Feb 01 2013 : 02:18:44
Hi

What address did you use?

If the attachment includes an EXE file, please send to nigel@xequte.biz

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graphman Posted - Jan 31 2013 : 16:55:24
Have you received my attached file?
graphman Posted - Jan 30 2013 : 05:56:13


graphman Posted - Jan 30 2013 : 05:24:29
Attached.

New empty test file have height = 50000
Selection became invisible after 43000

fab Posted - Jan 29 2013 : 23:31:00
Yes, please, send me your test project.
graphman Posted - Jan 28 2013 : 09:59:51
I can send you my test project.
graphman Posted - Jan 28 2013 : 09:42:34
I use

ImageEnView1->MouseInteract = TIEMouseInteract() << miSelect;
fab Posted - Jan 28 2013 : 07:58:34
I'm sorry, I cannot replicate. I tried to select in several ways (up-left to down-right, up to 39999 pixel, and so on) but the selection is always visible. Maybe I am missing something?
graphman Posted - Jan 28 2013 : 04:28:28
Width - 1950
1 bit/pixel
zoom - any value (10-400)
fab Posted - Jan 28 2013 : 04:11:02
Please let me know following details:
- the image width
- the image bit depth (1 bit, 24 bit RGB, etc...)
- the zoom level (100?)