Voting For std.experimental.ndslice

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 22 22:20:18 PST 2015


On Monday, 14 December 2015 at 08:29:13 UTC, Andrea Fontana wrote:
> On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer 
> wrote:
>> This is the voting thread to decide if the proposed addition 
>> to Phobos, std.experimental.ndslice, should be accepted.
>>
>> To vote, please respond to this post. You have three options:
>>
>> * Yes
>> * Yes with a single condition
>> * No
>
> Yes!

Thanks!
> Image example is a good idea but I think it should not use 
> external libraries. If someone starts with d/phobos probably 
> won't download/configure another library to do some tests.
>
> I suggest you to fix the example using ppm format.
> https://en.wikipedia.org/wiki/Netpbm_format#PPM_example
>
> It's just a couple of "map!()" away. :)
>
> Or bmp, it's not that complex to read in its common form.

imageformats consists of a single file, so user can compile it 
without dub. It would be faster for user to find and use 
imageformats than to find a converter from jpeg/png to PPM. 
Furthermore complete dub example is available at 
DlangScience/examples.

If you have an idea about additional example I'll be happy to 
discuss it.

Best,
Ilya


More information about the Digitalmars-d mailing list