Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
give it a solution tu use [convert -normalize] but ignore any edges of a image ?
for example:
only calculate 85% (yellow part) of the image and ignore 15% of the edges.
the result have to be like my image out.jpg, (but with the edges !!) .
my example image in.jpg , white or black areas (edges) can significantly skew the calculation of color balance if not ignored.
the wrong output is the same like the in-file
"-normalize" builds a histogram and calculates from that what "-level" is required, and applies that "-level". (Internally, it doesn't use "-level", but takes a short cut to do the same thing.)
You want to crop your image for the "-normalize", but apply the "-level" to the entire image.
Sadly, the "-normalize" command can't tell you what "-level" is uses.
I think the best way is as follows:
1. Crop the image.
2. Normalize the crop.
3. Use the technique I show on my "Gain and Bias" page to find what "-level" was applied.
4. Apply that "-level" to the entire image.
many thanks for the help.
i understand the point 1. and 2.
and i think i understand the way from 3. and 4.
on the hompage "Gain and Bias" i can see that i have to read the infos of the image, but i dont understand, how i can do it with (-level)
can you give me a example ?
or is necessary to develop a great script ?
Yes, it needs a script. My scripts are for Windows BAT. What do you use? BAT? Bash? Something else?
My scripts are quite complex because they cope with transparency in the input image, and they process the colour channels separately (to adjust colour balance). They can be simplified when the image is entirely opaque, and when you want to apply the same transformation to all three channels. Something like:
thanks, it works perfect for me !
does exactly what I need
another question: can you make little 'IM' jobs for me ?
I still have some work where I have no solutions ....
I like to pay for good solutions
or you know who make it