convert to background

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?".
Post Reply
andib

convert to background

Post by andib »

hello, I'd like to convert a grayscale image to a background image suitable for a website.
The first idea I had was to increase the brightness, but in this way there were most parts completely white.
The second idea is to decrease the black level of most dark parts without going under a sort of "level of visibility". In this way I hope that dark parts become sufficiently clear to display the black text I write over them, and the image can mantain its shape.
I don't know what are the commands to use, can you help me?
Thank you.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert to background

Post by Bonzo »

How about doing something like this: http://www.rubblewebs.co.uk/imagemagick ... o=blue.jpg

This is overlaying a plain blue image over a photo and "blending" it. You could overlay a white image over your grayscale one ?
andib

Re: convert to background

Post by andib »

perfect, it's exactly what I need, thank you very much
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert to background

Post by anthony »

Look at the techniques in IM Examples, Color Modifications
http://www.imagemagick.org/Usage/color/
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply