Binding to the GD graphics library

Hallo,

I have started a binding to the GD graphics library here.
It currently supports only a tiny subset of the functions (mainly drawing primitives) included in this library
and will likely never be complete as it is purely a hobby project.

But as the GD library already exists for a long time, is easy to use and popular in
some fields), someone might still find it useful.

It is not the first Fortran language binding to the GD library, but the other approach I found
here seems to be nearly 19 years old and not using iso_c_binding for the language binding.

Cheers,
Johann

6 Likes

Small update:

Now I have added the pixel manipulation tools and very basic font support und basic support for copying areas of images.

Still missing (among others) is the support for Free Type fonts and more complex image manipulation tools (read and write).

Note that this library is not a real plotting tools but aims to be just a simple library binding for drawing things into pixel graphics (currently only *:JPG and *:PNG are supported) and read pixels from them.

The homepage of the binding now contains a list of already supported subroutines/functions.

3 Likes