Hi guys,

I found a bug, took me a while to figure out what was causing the issue. In Manager.hx line 67, this:

   public function close() : Void
   {
       nMagick_close();
   }

should be this:

   public function close() : Void
   {
       nMagick_close( __m );
   }

Took me for a good spin around the block...

Cheers,
Aaron


Lee McColl Sylvester wrote:
You could query each of the pixels of the abstract image using nMagick, create an array of integer values and pass that to Flash with an image height and width requirement. Flash could then reconstruct the image.

Lee





Aaron Fay wrote:
Hi guys,

Out of curiosity I wonder if there is a way to get the raw data represented in an image file and pass that data into flash for display. Mucking around in the code reveals that that __m instance in the Manager.hx class is abstract (which I'm not totally familiar with) and won't serialize using a borrowed serializer class. Is there a way to cast the instance as a familiar data type (some kind of array?) and pass it in for use with a bytearray or something?

Thanks for your input,
Aaron

Lee McColl Sylvester wrote:
Hi Aaron,

I have a statically linked version of the ndll here, which means you won't / shouldn't need ImageMagick installed to use it. If you like, I could email it to you. If so, what email address would you prefer I send it to?

Regards,
Lee



Aaron Fay wrote:
Hi Lee,

I was going through the thread about nMagick and tried to follow along (XP pro). I downloaded the source from google code, got Visual Studio 7 up and running and spent the last 2 days trying to get it to spit out something remotely resembling the .ndll. I don't really know anything about C (except that it's a language) and each attempt to fiddle my way through the project has only resulted in more compile errors than less (the last attempt was ~4000 errors, and I think 37 warnings, mostly having to do with the ImageMagick libraries).

Mostly I'm just looking for a simple way to resize an image in a haXe program. Have you had a chance to compile the ndll? I noticed some of the haXe classes are started...I wouldn't mind trying to contribute to the class writing (it would take a little more fiddling to figure out what the hekko I'm doing ;).

Cheers,
Aaron









--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to