Is UI interesting for us?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sun Mar 26 13:35:27 UTC 2023


On 27/03/2023 1:13 AM, Guillaume Piolat wrote:
> It's probably better to make really good libs for those before doing an 
> UI, a whole UI is a bit above whan a single person could maintain and 
> design.

I'm giving it a go anyway!



I am seeing a bit of a problem with gamut, its not handling color spaces 
correctly. It appears to currently ignore them, which means if you care 
about correctness or reproducibility its not suitable (and it does not 
mention it).

An example of this is in PNG, there is no gAMA or cHRM chunk handling. 
It would be ok if it would process it into a more expected form (like 
sRGB), but it doesn't do anything like that.

To do this properly means you can't make assumptions which of course is 
super expensive when doing processing. I.e. you need:

https://github.com/Project-Sidero/image/blob/master/colorimetry/sidero/colorimetry/colorspace/rgb/model.d

https://github.com/Project-Sidero/image/blob/master/colorimetry/sidero/colorimetry/colorspace/rgb/srgb.d#L88

Over all its the ideals of gamut are cool, its scope needs slightly 
enlarging tho ;)



More information about the Digitalmars-d mailing list