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
 I want to draw a pic on current layer by click

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
sxbug Posted - Aug 30 2020 : 08:24:15
Hi
I have several patterns (I have Put them in Timage). After I choose one of them by click, then I click on the ImageEnView1 then draw it on the current layer. How can this be achieved?
thanks for your help!

sxbug
10   L A T E S T    R E P L I E S    (Newest First)
sxbug Posted - Aug 31 2020 : 23:17:02
OK#12290;
Thanks
xequte Posted - Aug 31 2020 : 22:58:48
Actually, the main issue with 5.2.0 is that it won't inherit the transparency when assigning from a TImage.

You can extend your license to the latest version at:

https://www.imageen.com/order/index.html#Extensions


Nigel
Xequte Software
www.imageen.com
sxbug Posted - Aug 31 2020 : 19:55:33
Unfortunately, ImageEn 5.2 doesn't have iexlayers unit. Is there any other way?

Thank you very much.

sxbug
xequte Posted - Aug 31 2020 : 19:39:02
Hi

Add iexLayers to your uses clause for ielkImage.

This method should support the transparency.



Nigel
Xequte Software
www.imageen.com
sxbug Posted - Aug 30 2020 : 23:24:36
Thank you Nigel.
I am using Delphi 10.2 , Win 10 64Bit, ImageEN 5.2.
The TImage content is PNG(background is transparent) or JPG

'ielkImage' undeclared identifier. :(

How to add layer of transparent background?(now it had a white background)

Thanks

sxbug
xequte Posted - Aug 30 2020 : 22:48:28
Hi

Can you do something like this:

ImageEnView1.LayersAdd( ielkImage, X, Y );
ImageEnView1.CurrentLayer.IEBitmap.Assign( Image1.Picture );
ImageEnView1.Update();


Otherwise, can you please upload a very simple demo showing your TImage content.

Also, what version of Delphi are you using? It will affect the transparency support in TImage.


Nigel
Xequte Software
www.imageen.com
sxbug Posted - Aug 30 2020 : 22:18:31
ImageEnView1.Proc.PointPasteFromClip(X, Y); It could draw the image at the current mouse position , but could NOT change image size and set the image's background to transparent.

How can I move the image and modify it's size and transparent it's background(background is White)?

Thanks
sxbug Posted - Aug 30 2020 : 18:25:43
I want to do a function like this: the background is a tree(background pic). Users can click on the background pic to put a Image (these patterns had put into TImage) to a new layer(ImageEnView layer) just like draw apples, oranges, bananas and so on the tree. And these Images can be change the location and size etc.

I am very sorry for my poor English.
Thanks for your help.
xequte Posted - Aug 30 2020 : 17:16:54
Hi

If you want to assign the content of a TImage to a TImageEnView, you can just use assign:

ImageEnView1.Assign( Image1 );



https://www.imageen.com/help/TImageEnView.Assign.html

Nigel
Xequte Software
www.imageen.com
sxbug Posted - Aug 30 2020 : 12:13:56
I have put my all pics in some TImage components, after click Timage copy pic to clipboard. Now How can I paste this pic to ImageEnView , and set position to click point ,change the pic size , set the pic background to transparent#12290;
Thanks