Blog Archives

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: , , , , , , , , , , , ,

Hidden Gems: Base64 Encoding and Decoding in Delphi

One of the big probs with Delphi these days is the sheer amount of functionality that is already included in the package. Just today I was pondering how to encode into or decode from Base64 with Delphi. 

As it turns out, Embarcadero included the functionality in the SOAP source files that can be found in the “soap”

Read more ›

Tags: , , , , ,