Re: DMagick image processing with D.

2013-06-19 Thread fgimage
it is a great project, i know it is kind of looking like an a href=http://www.rasteredge.com/how-to/vb-net-imaging/imaging-processing/;image processing tool vb/a for user. the interface looks cool. keep up with the work.

Re: DMagick image processing with D.

2012-04-09 Thread Mike Wey
On 04/08/2012 06:19 PM, nrgyzer wrote: Thanks for DMagick... works great, except toBlob(). When I try the following: Image example = new Image(Geometry(100, 100), new ColorRGB(0, 255, 0)); example.toBlob(); I get an access violation. Do I anything wrong or is it a bug? (I'm using Imagick

Re: DMagick image processing with D.

2012-04-08 Thread nrgyzer
Thanks for DMagick... works great, except toBlob(). When I try the following: Image example = new Image(Geometry(100, 100), new ColorRGB(0, 255, 0)); example.toBlob(); I get an access violation. Do I anything wrong or is it a bug? (I'm using Imagick 6.7.6, DMD64 and CentOS)

Re: DMagick image processing with D.

2011-11-04 Thread Mike Wey
On 11/03/2011 10:22 PM, Andrej Mitrovic wrote: On 11/3/11, Mike Weymike-...@example.com wrote: If you get displaying with GDI working it might be worth adding it to DMagick, so that every windows user can display images easily. Yeah it is working, but I'll refactor it a little bit to make it

Re: DMagick image processing with D.

2011-11-04 Thread Andrej Mitrovic
On 11/4/11, Mike Wey mike-...@example.com wrote: On 11/03/2011 10:22 PM, Andrej Mitrovic wrote: On 11/3/11, Mike Weymike-...@example.com wrote: If you get displaying with GDI working it might be worth adding it to DMagick, so that every windows user can display images easily. Yeah it is

Re: DMagick image processing with D.

2011-11-04 Thread Mike Wey
On 11/04/2011 08:15 PM, Andrej Mitrovic wrote: On 11/4/11, Mike Weymike-...@example.com wrote: On 11/03/2011 10:22 PM, Andrej Mitrovic wrote: On 11/3/11, Mike Weymike-...@example.com wrote: If you get displaying with GDI working it might be worth adding it to DMagick, so that every windows

Re: DMagick image processing with D.

2011-11-03 Thread Andrej Mitrovic
I've started a new repo where I'll be writing some DMagick (win32) sample apps. I have a simple one now that loads an image to a DibSection and blits it to the screen: https://github.com/AndrejMitrovic/DMagickSamples Note that I've had to add a couple of fixes to the library, so I'm distributing

Re: DMagick image processing with D.

2011-11-03 Thread Mike Wey
On 11/03/2011 06:43 PM, Andrej Mitrovic wrote: I've started a new repo where I'll be writing some DMagick (win32) sample apps. I have a simple one now that loads an image to a DibSection and blits it to the screen: https://github.com/AndrejMitrovic/DMagickSamples Note that I've had to add a

Re: DMagick image processing with D.

2011-11-03 Thread Mike Wey
On 11/03/2011 02:31 AM, Andrej Mitrovic wrote: It would be easier not having to register on a custom website just to issue reports. But anyway this line triggers a runtime exception: I've thought about moving to Github, maybe i should finally look take the time to set things up. -- Mike Wey

Re: DMagick image processing with D.

2011-11-03 Thread Mike Wey
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_p...@n019003l.pfb' @ error/annotate.c/RenderFreetype/1120. Magick: unable to read font `@ghostscript_font_p...@n019003l.pfb' @

Re: DMagick image processing with D.

2011-11-03 Thread Andrej Mitrovic
On 11/3/11, Mike Wey mike-...@example.com wrote: I've merged in the the fixes you added. I see that you have removed the shared static this from Image.d, is initializing ImageMagick unnecessary on Windows? Well it causes access violations on application start like I've mentioned in the bug

DMagick image processing with D.

2011-11-02 Thread Mike Wey
I'm happy to announce the first DMagick release. DMagick is an object-oriented D API to the ImageMagick image-processing library. With an interface inspired by Magick++ and RMagick. DMagick requires a recent D2 compiler = 2.054 and works with ImageMagick 6.6.0 and up. DMagick can be found

Re: DMagick image processing with D.

2011-11-02 Thread bearophile
Mike Wey: I'm happy to announce the first DMagick release. This looks like a quite useful package. Bye, bearophile

Re: DMagick image processing with D.

2011-11-02 Thread Andrej Mitrovic
sigmoidalContrast.d works, although draw.d doesn't: Magick: unable to read font `@ghostscript_font_p...@n019003l.pfb' @ error/annotate.c/RenderFreetype/1120. Magick: unable to read font `@ghostscript_font_p...@n019003l.pfb' @ error/annotate.c/RenderFreetype/1120.

Re: DMagick image processing with D.

2011-11-02 Thread Andrej Mitrovic
Btw, with warnings turned on I get: ..\dmagick\Image.d(236): Warning: overrides base class function object.Object.toString, but is not marked with 'override'

Re: DMagick image processing with D.

2011-11-02 Thread Andrej Mitrovic
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,

Re: DMagick image processing with D.

2011-11-02 Thread Andrej Mitrovic
I was trying to export pixels: auto pixels = image.exportPixels!byte(area, RGB); But got: ..\dmagick\Image.d(1340): Error: cannot implicitly convert expression (pixels) of type void[] to byte[] I think you might need to change Line 1340, dmagick/Image.d: return pixels; to this: return

Re: DMagick image processing with D.

2011-11-02 Thread Andrej Mitrovic
On 11/3/11, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc005) at CORE_RL_magick_.dll (0x100c1267) thread(3440) I think I've found the issue: void[] pixels = new T[area.width*area.height]; Here you're allocating width*height, but you

Re: DMagick image processing with D.

2011-11-02 Thread Andrej Mitrovic
Ok I'll stop spamming here and report on your site, here's issue 1: http://code.mikewey.eu/p/DMagick/issues/1/