Search found 308 matches

by VanGog
2014-07-05T01:03:54-07:00
Forum: Developers
Topic: Magick++
Replies: 2
Views: 4463

Re: Magick++

I found that I need to install cygwin X11 release 6 however it"s not clear to me whether should I download sources or binary release?
by VanGog
2014-07-05T00:16:19-07:00
Forum: Users
Topic: How to include IM to C++ project?
Replies: 3
Views: 4503

Re: How to include IM to C++ project?

Useful information. Thanks. I have found that I need Cygwin & GCC It is possible to build both ImageMagick and Magick++ under the Cygwin Unix-emulation environment for Windows NT. Obtain and install Cgywin from http://www.cygwin.com/ . An X11R6 environment for Cygwin is available from http://www...
by VanGog
2014-07-04T14:56:36-07:00
Forum: Developers
Topic: Magick++
Replies: 2
Views: 4463

Re: Magick++

I have fixed first problem (I added the recommended command line options to compiler http://www.imagemagick.org/discourse-server/viewtopic.php?f=23&t=22528), but here are new problems: c:\imagemagick-windows\imagemagick-6.8.6\magick\magick-type.h(87): error C2146: syntax error : missing ';' befo...
by VanGog
2014-07-04T14:55:12-07:00
Forum: Users
Topic: How to include IM to C++ project?
Replies: 3
Views: 4503

Re: How to include IM to C++ project?

I have fixed first problem (I added the recommended command line options to compiler http://www.imagemagick.org/discourse-server/viewtopic.php?f=23&t=22528), but here are new problems: c:\imagemagick-windows\imagemagick-6.8.6\magick\magick-type.h(87): error C2146: syntax error : missing ';' befo...
by VanGog
2014-07-04T06:06:04-07:00
Forum: Users
Topic: How to include IM to C++ project?
Replies: 3
Views: 4503

How to include IM to C++ project?

Can you explain me what I must do when I want to use IM as library in C++ project? I am working with Visual Studio C++ Express 2010 and I would like to open images with IM. I expect I should include some directories and files or libraries which come with IM source. But I don't want to build IM execu...
by VanGog
2014-07-04T01:40:28-07:00
Forum: Developers
Topic: Magick++
Replies: 2
Views: 4463

Magick++

Hi, I have read many developers use IM to load images in C/C++. For example, very favourite is CImg but it uses IM, so there is dependency. I originally wanted to find some simple library to load basic images like jpg, png, tiff or bmp. I searched internet and found reference to Magick++ which is in...
by VanGog
2014-06-17T13:57:39-07:00
Forum: Developers
Topic: IM really needs this feature
Replies: 22
Views: 22749

Re: IM really needs this feature

The blur functions look very hard for me to understand (* but I found interesting explanation at least for gausian filter here http://stackoverflow.com/questions/1696113/how-do-i-gaussian-blur-an-image-without-using-any-in-built-gaussian-functions ). The LevelImage seems more simple. I am checking i...
by VanGog
2014-06-17T01:27:07-07:00
Forum: Developers
Topic: IM really needs this feature
Replies: 22
Views: 22749

Re: IM really needs this feature

I'd like to create my own little program, which could do similar thing as I described here. Based on specialized HSB definitions I could generate masks. I would like to ask ImageMagick programmers where can I find the blur and level function in IM source? Possibly also function which joins images e....
by VanGog
2014-06-11T01:48:05-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128569

Re: Sophisticated fuzz with HSL definition?

Thanks. Your code works. I learned something definitely. But the actions which I want to do are more complicated so I must begin from begin and change the way how I do it. I think I have thought how to do it best. But now I am having this problem: convert map.png -write mpr:input +delete ^ ( -fuzz 8...
by VanGog
2014-06-10T23:19:02-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128569

Re: Sophisticated fuzz with HSL definition?

The empty line was only for stylistic reasons here on forum to separate the two steps visually. I think I have tried your last code already before and it did not work. I am going to try again. Yes, i recalled I tried it and it produced error message. I was not able to use the +delete but only -delet...
by VanGog
2014-06-10T13:16:47-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128569

Re: Sophisticated fuzz with HSL definition?

The first "-evaluate-sequence add" will replace all of the images so far. So the second "-evaluate-sequence add" has only one image to work with, and that image is the result of the first "add". See "-clone" for a solution, as well as "-delete". I s...
by VanGog
2014-06-10T12:09:28-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128569

Re: Sophisticated fuzz with HSL definition?

You mean like this? convert map.png -write mpr:input +delete ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFE168" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#E5bC4C" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFF1B3" ) ^ -evaluate-sequence add -blur 0x2.1 -thr...
by VanGog
2014-06-10T10:37:55-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128569

Re: Sophisticated fuzz with HSL definition?

Yet one more problem with my code: convert map.png -write mpr:input +delete ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFE168" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#E5bC4C" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFF1B3" ) ^ -evaluate-sequence add -...
by VanGog
2014-06-10T09:54:45-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128569

Re: Sophisticated fuzz with HSL definition?

Wow . Works both: convert map.png -write mpr:input +delete ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFE168" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#E5bC4C" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFF1B3" ) ^ -evaluate-sequence add -blur 0x1.6 -thres...
by VanGog
2014-06-10T09:32:12-07:00
Forum: Users
Topic: Sophisticated fuzz with HSL definition?
Replies: 128
Views: 128569

Re: Sophisticated fuzz with HSL definition?

Also, I need to generate two masks. One with less blur/threshold one with bigger: convert map.png -write mpr:input +delete ^ ( mpr:input -fuzz 2%% -fill black +opaque "#FFE168" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque "#E5bC4C" ) ^ ( mpr:input -fuzz 2%% -fill black +opaque &...