DMagick image processing with D.

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Nov 2 18:31:45 PDT 2011


It would be easier not having to register on a custom website just to
issue reports. But anyway this line triggers a runtime exception:

Line 256, dmagick/Image.d:
result ~= std.string.format("%sx%s%+ld%+ld ",
				imageRef.page.width, imageRef.page.height,
				imageRef.page.x,     imageRef.page.y);

std.format.FormatException at std\format.d(4094): formatArg

Personally, it's because of issues like this I never use any other
specifier but %s. It's hard to track this down with no line numbers,
and that exception message that points to internal code is completely
useless. Ah, phobos...


More information about the Digitalmars-d-announce mailing list