Search found 28 matches

by 3DTOPO
2010-10-07T02:24:27-07:00
Forum: Bugs
Topic: ConvertImageCommand Oddness
Replies: 6
Views: 15277

Re: ConvertImageCommand Oddness

OK, so I have it figured out. Even though checking for the clut file reported it existed and that it was readable (using NSFileManager), apparently for some reason unknown to me it was not readable by 'convert'. The clut was in the main bundle (resource) folder (which is accessible by the app). I wr...
by 3DTOPO
2010-10-06T14:37:01-07:00
Forum: Bugs
Topic: ConvertImageCommand Oddness
Replies: 6
Views: 15277

Re: ConvertImageCommand Oddness

They are not null strings though - thus is confirmed as they are printed to my log with printf.

Does the same thing even if I hard code them. I mainly used vars here because it is easier to read.
by 3DTOPO
2010-10-06T00:19:43-07:00
Forum: Bugs
Topic: ConvertImageCommand Oddness
Replies: 6
Views: 15277

ConvertImageCommand Oddness

Greetings, I am using ImageMagick 6.6.4-8 on iPhone OS 4.0. I am using the ConvertImageCommand() function with success in the iPhone simulator, but the same exact code is failing on a physical iPhone. The args that I am using are: char *argv[] = { "convert", filePath, "-colorspace&quo...
by 3DTOPO
2010-10-01T15:44:57-07:00
Forum: MagickWand
Topic: Optimization?
Replies: 1
Views: 8853

Optimization?

Greetings, I am trying out IM for the iPhone, and it works great! Just seems like something must be being cached to disk or something, because running filters seems much slower than some other iPhone apps that I have seen based on IM. Example: running the oil paint filter with a radius of 3 on an im...
by 3DTOPO
2010-09-30T16:54:08-07:00
Forum: MagickWand
Topic: Zoom Blur
Replies: 19
Views: 63644

Re: Zoom Blur

fmw42 wrote:For a reverse fisheye type distortion, try my bubblewarp script with -t sin -m polar.
Thanks Fred!

bubblwrap -t sin from your examples looks perfect!

But I am getting identical results using sin and arcsin which both appear to be an arcsin result.

I can show my test images if it might help....
by 3DTOPO
2010-09-30T14:16:40-07:00
Forum: MagickWand
Topic: Zoom Blur
Replies: 19
Views: 63644

Re: Zoom Blur

Hey Fred,

I was wondering if you knew of a way to get a "reverse fisheye" effect?

I tried entering negative values but they are not accepted from your script.

Example, original on the left, inverse fisheye on the right:

Image


Thanks!
by 3DTOPO
2010-09-30T13:09:23-07:00
Forum: MagickWand
Topic: Zoom Blur
Replies: 19
Views: 63644

Re: Zoom Blur

el_supremo wrote:In the C API there is a function, ConvertImageCommand, which takes exactly the same arguments as the command line version.

Pete
That is Excellent!

Thank you very much both Fred and Pete!
by 3DTOPO
2010-09-29T14:48:14-07:00
Forum: MagickWand
Topic: Zoom Blur
Replies: 19
Views: 63644

Re: Zoom Blur

Nice collection of scripts!

Do you know if it is possible to use the "convert" IM command from a C/C++ interface?
by 3DTOPO
2010-09-29T13:11:07-07:00
Forum: MagickWand
Topic: Zoom Blur
Replies: 19
Views: 63644

Zoom Blur

Greetings,

Can anyone recommend an approach to creating a zoom blur type filter?

The effect is similar to a motion blur, but has a center and the blur are rays from the center.

Any suggestions would be greatly appreciated!


Thank you.
by 3DTOPO
2010-07-30T14:23:11-07:00
Forum: MagickWand
Topic: Limit memory option?
Replies: 3
Views: 16406

Re: Limit memory option?

Apparently MAGICK_MEMORY_LIMIT seems to control the maximum pixel cache for the heap otherwise it caches to disk.

MAGICK_MAP_LIMIT seems to control the maximum pixel cache otherwise it caches to disk.

If MAP limit is not using memory from the heap, what is it using before it caches it to disk?
by 3DTOPO
2010-07-19T20:50:08-07:00
Forum: MagickWand
Topic: Limit memory option?
Replies: 3
Views: 16406

Re: Limit memory option?

Thanks for the link.

I am using MAGICK_MEMORY_LIMIT which works great, but I understand it also limits the disk pixel cache.

Is there a way to limit just the RAM and not the swap cache?

Thanks again!
by 3DTOPO
2010-07-05T18:10:28-07:00
Forum: MagickWand
Topic: Limit memory option?
Replies: 3
Views: 16406

Limit memory option?

Greetings,

I am just getting up to speed with ImageMagick and I am loving it!

Is there a limit memory option for the MagickWand API similar to the limit memory switch for the convert utility?

Code: Select all

convert -define registry:temporary-path=/data/tmp -limit memory 16mb

Thanks!