Search found 26 matches

by cloud
2010-06-15T12:07:57-07:00
Forum: Developers
Topic: malloc sizes question
Replies: 7
Views: 15665

malloc sizes question

MagickGetImagesBlob and MagickWriteImages (i.e. when dealing with multiple-images images, animated GIFs, for instance) callstack looks something like this: MagickGetImagesBlob ImagesToBlob WriteImages WriteImage WriteGIFImage SetImageType QuantizeImage GetCubeInfo libSystem.B.dylib malloc Malloc app...
by cloud
2010-05-03T04:02:30-07:00
Forum: Developers
Topic: iPhone Rejection for Private API calls
Replies: 43
Views: 81359

Re: iPhone Rejection for Private API calls

I got this error. 337 CorruptImage `' @ error/png.c/ReadPNGImage/3044 On this piece of code- dataObject = UIImagePNGRepresentation([UIImage imageNamed:@"ping.png"]); status = MagickReadImageBlob(magick_wand_mask, [dataObject bytes], [dataObject length]); Ok, can you try and use UIImageJPEGRepresent...
by cloud
2010-05-02T02:48:27-07:00
Forum: Developers
Topic: iPhone Rejection for Private API calls
Replies: 43
Views: 81359

Re: iPhone Rejection for Private API calls

[...] One last question. The framework runs painfully slow on the actual device. I'm not using any compression (which sped it up a bit at the cost of memory) and I resize any imported images to the max size the screen can display so we aren't doing unnecessary work. Are there any other optimization...
by cloud
2010-05-01T00:47:15-07:00
Forum: Developers
Topic: iPhone Rejection for Private API calls
Replies: 43
Views: 81359

Re: iPhone Rejection for Private API calls

It has to do with QuantumRange. It is defined in magick-type.h. In particular note that IM for iPhone is compiled --with-quantum-depth=8. A quick fix for you would be to have it hardcoded to 255UL with your code looking something like: #if TARGET_IPHONE_SIMULATOR status = MagickSepiaToneImage(magick...
by cloud
2010-04-30T07:05:36-07:00
Forum: Developers
Topic: iPhone Rejection for Private API calls
Replies: 43
Views: 81359

Re: iPhone Rejection for Private API calls

Can we know which error is? So I can look into it?
Thank you :)
by cloud
2010-04-30T02:25:57-07:00
Forum: Developers
Topic: iPhone Rejection for Private API calls
Replies: 43
Views: 81359

Re: iPhone Rejection for Private API calls

I'm writing an image to /Users/cloud/Desktop/ find it and change it to your needs, that could be the problem.
by cloud
2010-04-30T01:51:00-07:00
Forum: Developers
Topic: iPhone Rejection for Private API calls
Replies: 43
Views: 81359

Re: iPhone Rejection for Private API calls

Update: I can confirm everything working smooth on the simulator as well by compiling with the latest script. I will make available compiled libraries for everyone soon, just let me upload everything to a server (and will update the post here with download links). Thank you for the great work imagem...
by cloud
2010-04-30T01:48:19-07:00
Forum: Developers
Topic: iPhone Rejection for Private API calls
Replies: 43
Views: 81359

Re: iPhone Rejection for Private API calls

I have updated my script and compilation is working against iPhone OS, I have some problems for the Simulator (i386) regarding accelerate in the core part of the system. I'm checking it up soon. If you are working with the device please find the new script for compilation of 6.6.1-5 at github: http:...
by cloud
2010-04-08T15:35:37-07:00
Forum: Developers
Topic: IM on iPhone compilation problem since 6.6.0-1
Replies: 12
Views: 25028

Re: IM on iPhone compilation problem since 6.6.0-1

Am I right in saying that in the trunk svn version:

magick/fx.c:2516 there's still an unchecked call to j1?

Or how would I go about compiling trunk in the absence of j0/j1 in math.h?

Thank you for your help

~C
by cloud
2010-03-20T10:57:55-07:00
Forum: Developers
Topic: IM on iPhone compilation problem since 6.6.0-1
Replies: 12
Views: 25028

IM on iPhone compilation problem since 6.6.0-1

Hi, I'm the maintainer of the script to port IM on the iPhone as a static library for usage into iPhone projects. Since version 6.6.0-1 I'm having troubles compiling it due to a somehow restricted math.h file on the iPhone platform which doesn't include functions such as j0(), j1(), ... This yields ...
by cloud
2009-06-26T07:13:43-07:00
Forum: Announce
Topic: ImageMagick ported succesfully to iPhone
Replies: 1
Views: 35149

ImageMagick ported succesfully to iPhone

I've written a guide (with a bash script) to compile ImageMagick, with support to PNG and JPG as a static library to be used when programming something with the iPhone. I've tested the result and it's fully working and easily integrated within XCode and Objective-C. You can find the instructions wit...