Hi all,
i would like to create pictures with a few colors in command shell. Actually i am going to build a Website with some personal pictures.But i dont want to put the pictures with full colors. i need one or two colors.
For examp. like my avatar.
Thanks
How do I use ImageMagick to create one color pictures?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How do I use ImageMagick to create one color pictures?
See IM Examples, Color Reducion and dithering.
http://www.imagemagick.org/Usage/quantize/
http://www.imagemagick.org/Usage/quantize/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: How do I use ImageMagick to create one color pictures?
i coundn't make it
Can u guys give an Example?Please, It so complicated.
Thanks.
Can u guys give an Example?Please, It so complicated.
Thanks.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How do I use ImageMagick to create one color pictures?
More information would be nice...
What type of image? real world? Cartoon like? Shaded? greyscale?
Do you have an example image? What sort of colors do you want? How many?
what have you tried? Have Tried something like...
And no color reduction is typically not easy, as you have lots of techniques and options.
The IM examples page refered to however has lots of simple examples.
Try them, or explain exactly what you are wanting more clearly.
What type of image? real world? Cartoon like? Shaded? greyscale?
Do you have an example image? What sort of colors do you want? How many?
what have you tried? Have Tried something like...
Code: Select all
convert image.png +dither -colors 4 image_4.png
The IM examples page refered to however has lots of simple examples.
Try them, or explain exactly what you are wanting more clearly.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: How do I use ImageMagick to create one color pictures?
Sorry for my poor English
I going to try to describe more deeply.
I have normaly (suitable for a documents) taking photos with digital camera. it has full colors. Now i want to change this photos as same as my avatar.(all colors fade and blue color light dominant)
I did made this photo with photoshop, but i have to many (round 300) photos and i dont want to waste my time doing that each one.
Thanks alot.
I going to try to describe more deeply.
I have normaly (suitable for a documents) taking photos with digital camera. it has full colors. Now i want to change this photos as same as my avatar.(all colors fade and blue color light dominant)
I did made this photo with photoshop, but i have to many (round 300) photos and i dont want to waste my time doing that each one.
Thanks alot.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How do I use ImageMagick to create one color pictures?
I see. First resize your photo. See IM Examples, Thumbnails
http://www.imagemagick.org/Usage/thumbnails/
Then I would try a number of methods to find a good way to tint it blue. I would like to see what findings are for this, so an example and commands you tryed may be nice. Right it up for IM examples
Some methods I can think of off hand include...
http://www.imagemagick.org/Usage/thumbnails/
Then I would try a number of methods to find a good way to tint it blue. I would like to see what findings are for this, so an example and commands you tryed may be nice. Right it up for IM examples
Some methods I can think of off hand include...
- make image greyscale then
- try various histogram adjustments (linear, mathematical equasions, curves)
http://www.imagemagick.org/Usage/color/#linear - use -tint with a blue -fill
- -flatten it with a a blue -background
- try various histogram adjustments (linear, mathematical equasions, curves)
- use -sepia-tone, then
- change the color hue using -modulate
- greyscale and try the previous greyscale tinting options
- Just try to directly tint the image
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/