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.
…