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.

This is a view of the demo application in the Delphi IDE:

pexels1

This is the running demo:

pexels2

And this is how much code it takes for the Demo application to offer the functionality that is shown:

procedure TForm1.Button1Click(Sender: TObject);
begin
  Pexels.Keyword := txtKeyword.Text;
  Pexels.Fetch;
end;

It shows how easy it makes working with the image repository from Pexels.com using the component.

The component has full dataset support and completely abstracts from the handling of the API. You can completely concentrate on using a keyword to retrieve a dataset and request images.

Stay tuned for more. (I just noticed that I mislabeled the height with ‘Width’ as well, but it is only the column header…)

Tags: , ,
2 comments on “Introducing the Pexels.com Delphi Component
  1. Antony says:

    Source code ?

    • Holger Flick says:

      Source code will be available. However, not for free. I will post useful things from developing this component though.

Partnerships




Top