Was wondering if anyone has been able to use Lazarus to visually split a loaded picture into Quads using Quadtree (as shown in attachments) ?
There are plenty of Python and C++ codes, but nothing much in Lazarus (Pascal) or Delphi.
Corpsman had an example of compressing a grayscale bmp image using the Quadtree Algorithm, but I wanted to load a color png and have it dissected into quads using Quadtree.
Here are some nice Python implementations:
https://github.com/AlexEidt/Quart (this also has a video at the bottom)
https://github.com/fogleman/QuadsBut how to go about doing it in Lazarus using TBgrabmp?