Search found 6 matches

by cappelaere
2011-03-23T16:03:52-07:00
Forum: Bugs
Topic: GammaImage Function Prototype/Documentation Error
Replies: 2
Views: 5749

GammaImage Function Prototype/Documentation Error

Documentation http://www.imagemagick.org/api/enhance.php says:
MagickBooleanType GammaImage(Image *image,const double gamma)

but code says:
MagickExport MagickBooleanType GammaImage(Image *image,const char *level)

Thanks,
Pat.
by cappelaere
2011-03-23T06:47:42-07:00
Forum: Magick++
Topic: Linear Stretch with Magick++
Replies: 6
Views: 26420

Re: Linear Stretch with Magick++

Figured it out:
MagickCore::Image* img_core = img->image();

Works great.
Thanks.
Pat.
by cappelaere
2011-03-23T06:32:57-07:00
Forum: Magick++
Topic: Linear Stretch with Magick++
Replies: 6
Views: 26420

Re: Linear Stretch with Magick++

Ok did that.
But now, how would you convert a Magick::Image* to a MagickCore::Image* ?
A straight cast does not seem to be enough.
Assertion failed: (image->signature == MagickSignature), function ContrastStretchImageChannel
Thanks again.
Pat.
by cappelaere
2011-03-22T19:22:27-07:00
Forum: Magick++
Topic: Linear Stretch with Magick++
Replies: 6
Views: 26420

Re: Linear Stretch with Magick++

I tried to use the MagicCore C Api with Magick++ API but it is not working too well.
I am getting error: 'ContrastStretchImage' was not declared in this scope!
Not sure if you can mix the two APIs or if anyone tried to do this before.
Any help would be appreciated.
Thanks,
Pat.
by cappelaere
2011-03-22T14:51:44-07:00
Forum: Magick++
Topic: Linear Stretch with Magick++
Replies: 6
Views: 26420

Linear Stretch with Magick++

With the Magick++ API, how can I do a 5% linear stretch...something equivalent to: >convert test.png -linear-stretch 5x5% level.png [interestingly convert test.png -linear-stretch 5x95% level.png did not work] I tried to use "level" but it did not seem to produce the expected results my ex...
by cappelaere
2011-02-16T11:14:02-07:00
Forum: Bugs
Topic: MAGICK_THREAD_LIMIT = 0 doesn't disable OpenMP
Replies: 22
Views: 87249

Re: MAGICK_THREAD_LIMIT = 0 doesn't disable OpenMP

I have the exact same problem on the Mac.
ImageMagick 6.6.1-5 2010-11-15 Q16
Has this been resolved or addressed by any chance?
Thanks.
Pat.