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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Copy JPG to clipboard
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
234 Posts

Posted - Apr 18 2025 :  05:43:15  Show Profile  Reply
Hi

This may be a silly question but...

Is there anyway that I can copy an image as a JPG or a PNG into the clipboard rather than a bitmap using ImageENview?

I realise I can save a screenshot as a JPG and then drag it into X or Bluesky, but using the clipboard makes it quicker to post images directly from my apps.

The compression they use when I copy and paste produces a fuzzy image.

I'm just wondering if doing it this way will fix it.

Bruce.

xequte

38950 Posts

Posted - Apr 18 2025 :  20:42:17  Show Profile  Reply
Hi Bruce

JPEG and PNG are file formats (i.e. used when loading/saving), whereas the clipboard contains content, in this case an image stored as a bitmap and (actually) a quasi-PNG type format for alpha support.

Another way to think about it is that if you were to copy a "JPEG" to the clipboard, to save it you would need to paste it into an image editor, and then save it again (in which case there was no advantage to using a format on the clipboard).

I don't know X or bluesky, but if they allow you to paste a file, e.g. in the same way you can copy and paste files in Explorer, then you can do that using:

http://www.imageen.com/help/CopyFilesToClipboard.html



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

bmesser

United Kingdom
234 Posts

Posted - Apr 21 2025 :  10:17:13  Show Profile  Reply
Thanks Nigel, very helpful as always #128521;
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: