Initial feedback for std.experimental.image
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 6 19:28:18 PDT 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150707/0638ce1d/attachment.sig>
More information about the Digitalmars-d
mailing list