I've committed current codeset to sf. Not because a lot changed (i've been slacking), but because i plan to change the canvas concept a bit. Shouldn't be too hard but may affect already working methods.
Reason for this is that floating points are all nice, but very, and i mean very, memory consuming for larger images (like a 10 megapixel photograph).
Testing on a virtual machine proved insanely bad performance.
To keep the application multi-purpose, this memory issue must be addressed. The user can choose from various pixeldepths for internal canvas storage, weighing memory usage versus precision.
The intended formats are:
float (as originally) - 32 bpp
16-bit integer
12-bit integer
10-bit integer (2 bits per color increase at the cost of reduced alpha channel resolution)
8-bit byte - as most common image formats with alpha channel added. not immune for cumulative quantization errors so not recommended.... read more
The Mercurial version control already giving headaches. Seems on diffent platforms lazarus saves files in platform-native line endings. As those differ on Windows and unix and mac, and mercurial threats anything as 'binary' according to their own words, there arises an issue.
Now, i do not plan to manually convert everytime i do a commit. Choosing line ending in lazarus editor would be a useful feature though shines in absense. I should consider what to do because i don't like a dirty versioning mess, another version control system may be more appropiate after all...
The goal is to write a feature-rich yet easy to operate image editor. Just because i can. The Gimp is of course an excellent example but i'm personally after some unidentified features.
The application is written using the solid framework of FreePascal, making it massively platform-independant, as i used no external libraries yet and for imaging mostly am re-inventing wheels as well.
The progress so far is a pre-alpha. Got some basic stuff regarding file import, layers, scriptengine and class-based imaging algorytms together, with a tonload of work to do but it's getting more pleasant now as there's some 'visible' result.... read more