简体   繁体   中英

How to binaries image using ImageMagick?

I have got one image like this 板1

to only black and white colored image.

And I come across this ImageMagick resource

  1. Does this can be used to generate black and white image from the above given image?
  2. Does it is good to use this one?
  3. If it is good one then does there is any documentation or tutorial on "How to use?".

UPDATE

SO GOT THE BEST SOLUTION FROM @ale0xB's SUGGESTION.

No third party api is required for doing this as apple's COREIMAGE.FRAMEWORK is the best for doing what I want to do. It's filters are working like charm :)

Thanks for the suggestion :)

I use this image filter. And it is great in speed and provides great output :)

Why would you want to use imageMagick instead of the standard Core Image to produce black and White images? I haven't used it before, but I doubt it's gonna give a much better performance than the native framework when it's just about creating a filter.

Since iOS 6 you have it really easy, have a look: Core Image filters , specially to CIColorMonochrome, which is the one you may be interested in.

If you're playing with images in your app, this is definitely worth checking: Core Image Programming Guide

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM