Matthias Pleh wrote:
> Are you talking about the dImage project, with the display-X11/win32
> backends, on you side?

Yeah, that's the original version. I just finished doing the Windows
side (wasn't as bad as I thought) and put it all in one module. This
simplified version has no file format support yet.

http://arsdnet.net/dcode/simpledisplay.d

Usage example:

====

import simpledisplay;

void main() {
        auto image = new Image(255, 255);

        foreach(a; 0..255)
        foreach(b; 0..255)
                image.putPixel(a, b, Color(a, b, 0));

        image.display();
}

====

To compile:

dmd test.d simpleimage.d

Should work on both Windows and Linux the same way.

Reply via email to