On Mon, 06 Jul 2015 20:16:30 +0000, Baz wrote:

> On Monday, 6 July 2015 at 13:48:53 UTC, Rikki Cattermole wrote:
>> So as part of my testing of std.experimental.color I began writing an
>> image ala ae.graphics style.
>> It's now ready for very initial feedback.
> 
> I don't see some things that immediatly come to my mind as "usefull"
> when i think to the image class as it's been done elsewhere.
> 
> - Resampling API ?
> 
>   e.g the old trick to get AA: draw on double sized image canvas
> and resample to halh using an interpolator.
> 
> image.loadFromFile(...);
> image.resize(horzRatio, vertRatio, Resampler.linear);
> image.saveToFile(...);
> 
> - Canvas API ?
> 
> myImage.canvas.pen.color = RGBA!ubyte(...);
> myImage.canvas.fillRect(...);
> etc.
> 
> needed to programmatically generate an image.

i believe this is out of scope of the library. that is exactly the things 
that should be build latter with image library as foundation.

Attachment: signature.asc
Description: PGP signature

Reply via email to