Quote Originally Posted by Jonax View Post
What do you guys say? downloading 11 MB is no big deal nowadays? Compressing the file may be overkill?
11 MB is no big deal today. Especially if you take into account that may web-pages can exceed 5 MB od downloadable data per page.
As for tying to reduce size of your executable that has increased due to including a large image in it. You can do a lot by using appropriate image format. For instance:
If your image has low number of colors then using PNG image format would reduce the data size the most due the way PNG image compression works.
If your image has lots of colors like in a photo then using JPEG might be better idea since JPEG compression is developed to better handle this kind of images.
You should avoid storing images in plain BMP format since BMP offers no compression.

Quote Originally Posted by Jonax View Post
I try a home-made version using a series of

image.canvas.line(x1,y1,x2,y2);
You should check TCanvas.Polyline (https://lazarus-ccr.sourceforge.io/d....polyline.html) which allows you to draw a line across a an array of points. It will probably make your life a bit easier
And of you want less "linear" results you may also want to check TCanvas.PolyBezier (https://lazarus-ccr.sourceforge.io/d...olybezier.html) which allows drawing of nice curved lines.