Search found 158 matches

by Rye
2014-06-20T16:18:12-07:00
Forum: Users
Topic: Identify all colours in picture and output to txt ?
Replies: 22
Views: 17891

Re: Identify all colours in picture and output to txt ?

Snibgo's command outputs it, yet it seems to be in a weird shape: 43, 39, 47, 41, 42, 46, 37, 35, 44, 45, 47, 43, 39, 40, 47, 45, 39, 42, 42, 43, 43, 42, 43, 45, 45, 44, 46, 47, 45, 44, 44, 45, 46, 47, 46, 40, 43, 42, 42, 47, 44, 45, 47, 47, 42, 43, 41, 45, 44, 47, 47, 41, 43, 43, 44, 46, 47, 47, 45...
by Rye
2014-06-20T15:18:18-07:00
Forum: Users
Topic: Identify all colours in picture and output to txt ?
Replies: 22
Views: 17891

Re: Identify all colours in picture and output to txt ?

Yep, I'm talking about your command.

The unique-color is exactly what I need.
Now I only need to find out how to format this in windows.
by Rye
2014-06-20T15:16:19-07:00
Forum: Users
Topic: Replace ANY colour Except #ffffff with #000000
Replies: 18
Views: 8511

Re: Replace ANY colour Except #ffffff with #000000

Is it possible to define multiple colors that are to be exluded from the replace ?

If I would like to replace any colour except for these three: #F4F4FC #F7F7FF #F9F9FF with let's say #000000.

How'd I do it ?
by Rye
2014-06-20T14:49:51-07:00
Forum: Users
Topic: Identify all colours in picture and output to txt ?
Replies: 22
Views: 17891

Re: Identify all colours in picture and output to txt ?

EDIT: convert your image txt: | grep -o "#[^ ]*" Hmm... I installed grep and tried this, however the outputted txt remains unchanged. Only one problem remains. Is there a way to only list the DIFFERENT hex codes ? Output is like this: # ImageMagick pixel enumeration: 1248,800,255,srgb 0,0: (168,168,...
by Rye
2014-06-20T14:38:36-07:00
Forum: Users
Topic: Replace ANY colour Except #ffffff with #000000
Replies: 18
Views: 8511

Re: Replace ANY colour Except #ffffff with #000000

convert 001.gif -fuzz 5%% -fill "#A7A7AF" +opaque "#ffffff" 002.gif This does nothing to the image posted above (have you found a satisfactionary code that works with the above image ?) IMGMagick version: Version: ImageMagick 6.8.3-4 2013-02-20 Q16 http://www.imagemagick.org Copyright: Copyright (C...
by Rye
2014-06-20T13:04:49-07:00
Forum: Users
Topic: Replace ANY colour Except #ffffff with #000000
Replies: 18
Views: 8511

Re: Replace ANY colour Except #ffffff with #000000

using a second % doesn't help.

How can I find the version etc. ?
by Rye
2014-06-20T12:03:55-07:00
Forum: Users
Topic: Identify all colours in picture and output to txt ?
Replies: 22
Views: 17891

Re: Identify all colours in picture and output to txt ?

Is this possible solely using Windows DOS CMD aswell ?
by Rye
2014-06-20T12:03:16-07:00
Forum: Users
Topic: Replace ANY colour Except #ffffff with #000000
Replies: 18
Views: 8511

Re: Replace ANY colour Except #ffffff with #000000

the second command seems to do nothing to my picture (I replaced "show:" with result.gif). Am I doing something wrong ? I also played around with the fuzz value as instructed, however the change was still - nothing... This command *did* something, however still not as good as I wished it to be: conv...
by Rye
2014-06-20T09:58:34-07:00
Forum: Users
Topic: Identify all colours in picture and output to txt ?
Replies: 22
Views: 17891

Identify all colours in picture and output to txt ?

So.

I'm looking for a way to have ImageMagick analyze a picture completly and output all the colour hex values found in said picture like this (.txt file):

#FFFFFF
#000000
#A7A7AF
....

Is this possible by standart means ?
by Rye
2014-06-20T09:55:12-07:00
Forum: Users
Topic: Replace ANY colour Except #ffffff with #000000
Replies: 18
Views: 8511

Replace ANY colour Except #ffffff with #000000

So I have this picture: https://dl.dropboxusercontent.com/u/14586156/texte%20%2B%20bilder/cheats%26gamesaves/gbagamecheats/megamanbattlenetwork%20spieltipps/megaman%20battlenetwork%204/mmbn4_maps/mmbn_bg/realworld_fgs/snow_sharo/0precrop/Snow_Sharo%20001.gif And want to repace all colours EXCEPT #ff...
by Rye
2013-10-22T12:51:26-07:00
Forum: Users
Topic: Append multiple images on canvas
Replies: 4
Views: 30643

Re: Append multiple images on canvas

is it possible to define a canvas for stacking ?

so it will stop and continue stacking like this:
HHHHHH
HHH
by Rye
2013-10-22T12:15:57-07:00
Forum: Users
Topic: Append multiple images on canvas
Replies: 4
Views: 30643

Append multiple images on canvas

So this is some theory here. I want to lay out some pictures I have (lets say for this example: 10 pictures that are in size of 640x1136) on a canvas. I want them to be put side by side if I would define the canvas 6400x1136 and for example if I went ahead and used 640x1136 as canvas size it should ...
by Rye
2013-10-22T12:12:54-07:00
Forum: Users
Topic: Convert gray content of gray/white image to black ?
Replies: 9
Views: 8230

Re: Convert gray content of gray/white image to black ?

Thanks ! Just what I was looking for!
by Rye
2013-10-22T11:33:12-07:00
Forum: Users
Topic: Convert gray content of gray/white image to black ?
Replies: 9
Views: 8230

Re: Convert gray content of gray/white image to black ?

Ok, this works really well. Thanks.

Another question:

If I wanted to change from one hex code to a specific other one.
What woudl I have to change in that code of yours ?
by Rye
2013-10-20T15:51:40-07:00
Forum: Users
Topic: Convert gray content of gray/white image to black ?
Replies: 9
Views: 8230

Re: Convert gray content of gray/white image to black ?

Is this also possible by using the HexCodes I mentioned