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
 Paste from clipboard to TImage using TImageEnIO?

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
PeterPanino Posted - Mar 21 2014 : 18:02:29
Hi! I have a TImageEnIO component on a form, where the AttachedTImage property is set to a TImage on the form.

How can I PASTE an Image from the clipboard to the TImage using TImageEnIO, where the clipboard image format is not supported by TImage but should be supported by TImageEnIO?

Usually there are several image formats on the clipboard. Does TImageEnIO have a mode to automatically choose the "best" format?
7   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 17 2018 : 22:40:32
Hi

You can use the TAction, TImageEnMViewPasteFromClipboard.

If you don't want to use actions, open iexActionsMulti and copy the TImageEnMViewPasteFromClipboard code (it is qute simple).

Nigel
Xequte Software
www.imageen.com
Dany Posted - Jul 17 2018 : 15:35:26
Hello!

Is it possible to use similar method for pasting images into a ImageEnMview thumbnail ?

Thank you!
yogiyang Posted - Mar 25 2014 : 21:03:11
I think it is not ImageEn bug.

It is something related with Snagit.

While using Snagit why not try to past the clipboard contents to MS Paint to see first and then try to get the clipboard contents through ImageEn.

FYI I have been using FastStone Capture for quite some time now. And I feel it is better than Snagit. I would advise you to look this extremely useful utility up and try it!

My 2 cents....



Yogi Yang
PeterPanino Posted - Mar 22 2014 : 05:37:16
Does anybody know Snagit Editor?

http://www.techsmith.com/snagit.html

It is an image editor for the well known screenshot utility Snagit from TechSmith.

When the image in Snagit Editor contains a TRANSPARENT AREA and I copy this image to the clipboard then sometimes ImageEnProc.PasteFromClipboard does work and sometimes it does not. It is not reproducible. Is this a bug in ImageEnProc.PasteFromClipboard?
w2m Posted - Mar 22 2014 : 05:09:46
procedure TForm1.Paste1Click(Sender: TObject);
{ Paste from clipboard to Attached TImage. }
begin
  ImageEnProc1.AttachedTImage := Image1;
  {If clipboard contains data valid for TImageEnProc then pastefromclipboard }
  if ImageEnProc1.IsClipboardAvailable then
    ImageEnProc1.PasteFromClipboard
  { else show a message }
  else
    MessageBox(0, 'Can not paste from clipboard.  The clipboard does not contain data valid for TImageEnProc.', 'Warning', MB_ICONWARNING or MB_OK);
end;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Custom ImageEn Development
PeterPanino Posted - Mar 22 2014 : 04:55:14
Thanks!
xequte Posted - Mar 22 2014 : 02:25:16
Hi

Did you try attaching a TImageEnProc to your TImage and then use ImageEnProc1.PasteFromClipboard.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com