Blog Archives

5-Minute-Snack: Get Base64 encoding for images in TMS Web Core

Not so long ago, I posted about how to convert an image into a Base64 string. Today, I will show you that using TMS Web Core, this is even easier.

If we look into the source code of TMS Web Core, we find that the custom image control adds a public property called Base64Image of type string.

Read more ›

Tags: , , , , , ,

5-Minute-Snack: Base64 encode and decode images in Delphi

Quite some time ago, I blogged about how to encode and decode data as Base64. The post is still accessed on a regular basis. However, I have received a question multiple times and want to provide the solution: How can images be encoded and decoded?

The key lies in the polymorphism of TPicture that allows you to implement a solution that is not even depending on one file format.

Read more ›

Tags: , , , , , , , , , , , ,

5-Minute-Snack: Loading big images into TImage without flicker

Loading images into a TImage component is easy. We do this during design-time most of the time. In the other cases it is mostly a call to LoadFromFile and we are done.

Recently, I had the task to display several images with a timer delay. Again, very simple to implement,

Read more ›

Tags: , ,

Partnerships




Top