Road to 3.0

[email protected] (Pierre Joye) Sat, 17 Jul 2021 12:18:41 +0700
Newsgroups php.gd.devel
Message-ID <CAEZPtU5OZUG9EOddmrx=dfgJNPFJRJEnz-5ftq8RakeTA1TR=w@mail.gmail.com>
Hello GD devs and users,

I hope you are doing well in this weird and difficult time!

As you may have noticed, I have started a new branch to bring libgd to
the next level. It is in the early stage, however there are already a
few things to play with.


I am trying to summarize it here https://github.com/libgd/libgd/wiki/3.0-Roadmap
The branch is https://github.com/libgd/libgd/tree/features/surface

I would like to know what you would like to see added, ideas, suggestions, etc.

The key new features I am looking for are:

- True ARGB/xRGB 32bit
- Vector based 2D Drawing API
  - High quality 2D drawing functions
  - Path and render
  -  Progress: https://github.com/libgd/libgd/wiki/GD-Draw,-vector-based-drawing-APIs
- Better error handling (less void functions where a status should be used)

I am focusing now on the vector API implementation and the image
coder/decoder for the ARGB format. Once done, I will start to work on
the other areas.

All image manipulations (filters etc) will support the new internal formats.

The current drawing functions (imageline, polygons, etc)  are unclear.
We could provide wrapper but applications relying on pixel exact, or
color exact pixels at specific locations may not like it. What do you
think?

Suggestions, PRs, tests, etc. are more than welcome!

Best,
-- 
Pierre

@pierrejoye | http://www.libgd.org