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
 2 questions

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
Logo Posted - Jan 03 2013 : 13:43:07
1. I added in a demo Layers sample button to activate the Select function.

ImageEnView1.SetLayersBoxStyle (psSolid);
ImageEnView1.SetLayersGripStyle (clBlack, clWhite, bsSolid, 5, iegsBox);
Imageenview1.MouseInteract: = [miSelect]; / / go for rectangular area

However, the program selects a square rather than a rectangle (attachment).

How to select a rectangle.

2. How to select multiple pictures in ImageEnView for preview and printing.

Logo

4   L A T E S T    R E P L I E S    (Newest First)
Logo Posted - Jan 07 2013 : 03:57:50
Thanks! It works.

Logo
w2m Posted - Jan 06 2013 : 17:49:49
1. What does not work?
You can only select a square because CheckBox9 (Aspect Ratio) is checked by default. Uncheck the Aspect Ratio checkbox then make a selection... you will be able to select a rectangle then.

2. I am using the CROP but it increases my image after cropping. How take a picture as it is cut?
What do you mean? It is impossible that your image will be larger after cropping. Are you using ImageEnView1.Proc.CropSel?

In the layers demo add two buttons:
procedure Tfmain.Select1Click(Sender: TObject);
begin
  ImageEnView1.SetSelectionGripStyle(clWhite, clWhite, bsSolid, 5, true, iegsBox);
  ImageEnView1.MouseInteract := [miSelect];
end;
procedure Tfmain.Crop1Click(Sender: TObject);
begin
  ImageEnView1.Proc.CropSel;
  ImageEnView1.Update;
end;


Then when running the application uncheck the Aspect Ratio checkbox, then select the Select1 button, make a rectangular selection with the mouse, then select the Crop1 button.

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Logo Posted - Jan 06 2013 : 16:37:54
1. Doesn't work
I posted
//ImageEnView1.SetLayersBoxStyle(psSolid);
//ImageEnView1.SetLayersGripStyle(clBlack, clWhite, bsSolid, 5, iegsBox);
ImageEnView1.SetSelectionGripStyle(clWhite, clWhite, bsSolid, 5, true, iegsBox);
Imageenview1.MouseInteract := [miSelect]; //go for rectangular area

any idea?

2. I am using the CROP but it increases my image after cropping. How take a picture as it is cut?
Logo
w2m Posted - Jan 03 2013 : 15:12:36
1. You set the layers grip stype not the selection grip style:
ImageEnView1.SetLayersGripStyle (clBlack, clWhite, bsSolid, 5, iegsBox);

Use SetSelectionGripStyle to set the selectio grip style instead:
ImageEnView1.SetSelectionGripStyle(clWhite, clWhite, bsSolid, 5, true, iegsBox);


William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html