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?".
I bought a script which includes a default ImageMagick's command for creating thumbmails. I'm not satisfied with the contrast of the thumbmails and i would like to make some tests adding more contrast/colours
This is the actual command that the script uses is:
In your code, you probably are getting only one or the other, I suspect the latter. And -filter usually goes before -resize, though in IM 6 it may not matter.
For thumbnails, you may want to replace -resize with -thumbnail, since it will remove all the meta data and make your output image filesize smaller.
You may be able just to increase your -gamma value for starters.
Do you mean i can just increase my -gamma value to have more contrast on the final result?
Yes, you have -gamma 1.2 in your code. So try increasing it to 1.5 or 2
juliobcn wrote:Also about
-filter Lanczos -filter Blackman
what is wrong ?
As I said before, IM uses only one -filter argument in any command line for a given resize operation. So only one is being used. You can try removing one or the other and see which is best for you. If you want both then it would need to be -filter XX -resize YY -filter ZZ -resize 100%. But this is not very good practice. You should find one filter that works. Or use a filter with one of the -define controls for blurring or sharpening. See http://www.imagemagick.org/Usage/filter/ and http://www.imagemagick.org/Usage/filter/nicolas/
juliobcn wrote:In my default line code i have -contrast , can i add -contrast more times to test ?
There is no control for -contrast. So if you want more contrast, you would have to repeat -contrast as many times as you need.
But you can also use -brightness-contrast bri,con in its place and leave con=0. Then use bri=10 or 20 or 30, whatever works for you.