Search found 10 matches

by mham
2015-08-27T06:47:45-07:00
Forum: Magick++
Topic: Get amount of white(-ish) pixels in image(PNG)
Replies: 4
Views: 14750

Re: Get amount of white(-ish) pixels in image(PNG)

That's brilliant and it is a big help to my solution - thank you very much snibgo!
by mham
2015-08-27T06:03:58-07:00
Forum: Magick++
Topic: Get amount of white(-ish) pixels in image(PNG)
Replies: 4
Views: 14750

Re: Get amount of white(-ish) pixels in image(PNG)

Thank you for the quick answer, snibgo. So I did this convert 50889165.png -fuzz 4% -fill White -opaque White out.png convert out.png -fuzz 4% -fill Black +opaque White out.png which gives me a black and white image -great! convert out.png -format %[fx:int(mean*w*h+0.5)] info: Gives me an output of ...
by mham
2015-08-27T00:28:40-07:00
Forum: Magick++
Topic: Get amount of white(-ish) pixels in image(PNG)
Replies: 4
Views: 14750

Get amount of white(-ish) pixels in image(PNG)

Hi, what is the best way to get the amount of pixels that fall in a certain RGB range. I'm looking for a way to determine how much whitespace my image has. For starters it would be enough to measure the really white pixels (255,255,255) - but then I need to measure a range, let's say from (200,200 ...
by mham
2012-09-07T08:02:00-07:00
Forum: Developers
Topic: Xcode use ImageMagic++ static
Replies: 10
Views: 19420

Re: Xcode use ImageMagic++ static

It worked. I just disabled most of the dependencys and only included libjpeg and some others, I coudn't disable. And I had to delete the dylibs for JPEG for example.
by mham
2012-09-04T02:51:39-07:00
Forum: Developers
Topic: Xcode use ImageMagic++ static
Replies: 10
Views: 19420

Re: Xcode use ImageMagic++ static

But still if I install the delegates from MacPorts I maybe have to tell each delegate to build static libraries too? And not all Delegates I downloaded manually have configure files with them
by mham
2012-09-03T02:33:14-07:00
Forum: Developers
Topic: Xcode use ImageMagic++ static
Replies: 10
Views: 19420

Re: Xcode use ImageMagic++ static

Ok no he complains about Dyld Error Message: Library not loaded: /usr/local/lib/liblzma.5.dylib Referenced from: /SignalGenerator.app/Contents/MacOS/SignalGenerator Reason: image not found and I fear that there are many errors to come if I solve this one. Does this mean, that I have to configure ...
by mham
2012-09-03T00:55:43-07:00
Forum: Developers
Topic: Xcode use ImageMagic++ static
Replies: 10
Views: 19420

Re: Xcode use ImageMagic++ static

Thanks for your answer. So you say i have to download each delegate, configure each delegate to work static and then import them to my project? Why is that so complicated and nobody has ever done an ImageMagick-Source where it is all included in once? :/ I really only need to open JPEGs or PNGs in ...
by mham
2012-09-02T01:36:34-07:00
Forum: Developers
Topic: Xcode use ImageMagic++ static
Replies: 10
Views: 19420

Re: Xcode use ImageMagic++ static

I tried folllowing your advice on another thread to this topic using:

./configure --disable-shared --enable-delegate-build

but I dont know which delegates I should put in the imagemagick folder in order to compile correctly :(
by mham
2012-09-02T00:45:09-07:00
Forum: Developers
Topic: Xcode use ImageMagic++ static
Replies: 10
Views: 19420

Re: Xcode use ImageMagic++ static

Hi thanks for your answer, I did the following: 1. Terminal: cd to ImageMagick Sources Folder (ImageMagick-6.7.9-2) 2. ./configure --disable-opencl --enable-static=yes 3. make 4.make install Now I went to the folder /usr/local/lib. There I have libMagick++.a, libMagickCore.a and libMagickWand.a and ...
by mham
2012-09-01T11:09:24-07:00
Forum: Developers
Topic: Xcode use ImageMagic++ static
Replies: 10
Views: 19420

Xcode use ImageMagic++ static

Hi everyone, I've set up a Xcode Project and im using libmagic++ for my project. However it works when I link to the dylib. It does not work when I link to the .a lib. I configured ImageMagick like this before building: Option Value ...