dkeene Posted March 8, 2020 Posted March 8, 2020 Howdy Is there a way to embed images into a unigui db control? I tried UniDBHTMLMemo and it supports images, but the images must be in the form of a url such as www.website.com\image.jpg. My goal is to be able to paste images for example copied to the clipboard from any source... Thank you Doug Quote
Oliver Morsch Posted March 8, 2020 Posted March 8, 2020 For embedding images you can use Data URI scheme. Quote
dkeene Posted March 8, 2020 Author Posted March 8, 2020 Thank you Oliver. You mean encoding the pixels individually into ascii characters? Is there an algorithm for delphi to do this? Thanks Doug Quote
Tokay Posted April 23, 2020 Posted April 23, 2020 Indy could encode end decode base64, you can google how to do it: base64 indy delphi Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.