DMagick image processing with D.

Mike Wey mike-wey at example.com
Thu Nov 3 12:31:37 PDT 2011


On 11/03/2011 01:42 AM, Andrej Mitrovic wrote:
> sigmoidalContrast.d works, although draw.d doesn't:
>
> Magick: unable to read font `@ghostscript_font_path at n019003l.pfb' @
> error/annotate.c/RenderFreetype/1120.
> Magick: unable to read font `@ghostscript_font_path at n019003l.pfb' @
> error/annotate.c/RenderFreetype/1120.
> dmagick.Exception.XServerError at dmagick\Image.d(1142): Magick: unable
> to open X server `' @ error/display.c/DisplayImages/1662
> ----------------
> 4C004C
> 451F2B
> 40CCF0
> 415E4C
> 415E90
> 415A87
> 52F2C5
> ----------------
>
> I guess displaying is only possible via X server? Otherwise I guess I
> could fetch the raw bytes of the image and display that via GDI/etc.
> I've seen a toBlob function in there somewhere, maybe I can use that.
>
> I've never used this lib before but it will definitely come in handy.
> Thanks for your hard work, Mike!

If you get displaying with GDI working it might be worth adding it to 
DMagick, so that every windows user can display images easily.

-- 
Mike Wey


More information about the Digitalmars-d-announce mailing list