convert all images to a specifc hue #208
Replies: 4 comments 6 replies
-
I do not understand. Do you want all images to have the same color or just make the color uniform in any given image? If the latter, you can replace any non-white color using -fuzz XX% -fill some_color +opaque white, where some_color is the color you want to use to replace everything that is not white (within the fuzz value). The issue is you need to measure or know what the background color is approximately (within the fuzz range). So you could just measure any non-white color in your image. Please explain in more detail what you are actually trying to do, |
Beta Was this translation helpful? Give feedback.
-
These two approaches are what I have so far. Unix Syntax: Input:
Change "tan" to whatever color you want |
Beta Was this translation helpful? Give feedback.
-
If you are on IM 7, you could also do
Adjust the fuzz value as desired |
Beta Was this translation helpful? Give feedback.
-
Another possibility, naming your input as waveyWhite.jpg:
|
Beta Was this translation helpful? Give feedback.
-
ImageMagick version
6.9.11-60 Q16 x86_64 2021-01-25
Operating system, version and so on
linux mint 21.1
Description
I want to convert a bunch of similar image that has different colors with white random paths but slightly different color for background:
(!https://imgbox.com/Si55Q0jI)
(!https://imgbox.com/TxpvIgwk)
what I want is to convert them all to be a single color consistent, but of course just the background color not the white paths
I tried this matrix which convert it to a grey color but when I want to colorize it, it turns to a different color
Beta Was this translation helpful? Give feedback.
All reactions