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
 Crop Problem

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
izaque Posted - Mar 15 2012 : 07:51:27
Hi, after using "ImageEnView.Proc.CropSel," sometimes occurs in the image is with some black stripes, "like a barcode." What causes this problem?

8   L A T E S T    R E P L I E S    (Newest First)
izaque Posted - Mar 16 2012 : 09:28:57
I managed to solve the problem using the following line no evento OnSelectImage(..):

ImageEnView.Update;
ImageEnView.Refresh;

You can close the topic!
fab Posted - Mar 15 2012 : 23:29:28
quote:
I do not know how to get these coordinates!


Handle the event OnSelectionChange of TImageEnView and display the value of properties SelX1, SelY1,SelX2 and SelY2.

I still cannot reproduce, I'm sorry!
izaque Posted - Mar 15 2012 : 13:21:52
I do not know how to get these coordinates! I use "ImageEnView.MouseInteract: = [miSelect]"
But the problem is that I "move the selection", when the selection is moved and is on top of a black part of the picture it presents a risk to which blacks dragged the selection.
I do not know if this would be a bug, but either way it would be nice to verify. I managed to solve the problem using the following line:

iemvThumb.CopyToIEBitmap (idx, ievImagem.IEBitmap);

ImageEnView.Update;
ImageEnView.Refresh;





That is when I select the image in ImageEnMView. After I make a copy of ImageEnMView for ImageEnView I use ImageEnView.Update and ImageEnView.Refresh. Is a tip.
Thank you.
fab Posted - Mar 15 2012 : 12:30:36
Unfortunately it doesn't help me to reproduce the problem.
Please let me know the coordinates of selection (in terms of SelX1, SelY1, SelX2 and SelY2) and send me the original image.
izaque Posted - Mar 15 2012 : 11:09:12
Fabrizio, is as follows:

Step one:



Step two:



Step three:

fab Posted - Mar 15 2012 : 10:31:18
Please could you send an image (before crop) where this has happened at least one time and the coordinates of the selection?
izaque Posted - Mar 15 2012 : 10:00:10
No, when you cut out the image with the "Crop", sometimes the picture has some risk of black color, which is not the image. When I send to the printer, the rich do not appear in print. But the image to load these risks appear. The image is black and white 2 bits.
Remember that "sometimes happens", so I'm not sure how it occurs, but is following commands:

ievImagem.Proc.CropSel;
ievImagem.DeSelect;
fab Posted - Mar 15 2012 : 08:28:27
Hi,
please help me to reproduce this problem. Is the area with "barcodes" inside the selection?
Which is the pixel format?