Monthly Archives: September 2016

Component Development: Proof of concept; multi-platform demos

In my last blog post I showed the value of prudent class design with regard to platform development. Ina nutshell, our component has a base class that only contains basic functionality that is platform independent. The platform dependent parts are implemented in derived classes for the different platforms (and frameworks) –

Read more ›

Tags: , , , , , , , ,

Component Development: Building a multi-platform component for the Pexels API

A couple of days ago I announced the Pexels API component for Delphi. As Delphi Berlin makes it so easy to develop for multiple platforms, I wanted the component to be platform-independent – meaning: the component is supposed to work with all the different compilers that Delphi comes with.

Initially,

Read more ›

Tags: , , , , , ,

Download an image from the web and assign a stream to TPicture (for any image format)

I struggled with this myself when implementing the Pexels component. The problem is rather simple: You download an image from the web, end up with data in a stream and want to use a bitmap to use the image in your application. The tasks presents itself as rather complex due to the flexibility that Delphi offers in this regard.

Read more ›

Tags: , , , , , , ,

Introducing the Pexels.com Delphi Component

Pexels.com is a wonderful resource for some of the very best photography on the internet. The best about it: All images on that platform can be used without any limitation. Thus, the creators of Pexels.com offer an API to retrieve images. This only called for a wonderful Delphi component that allows you to retrieve images easily.

Read more ›

Tags: , ,

Partnerships



Top