Fw: "transition" blending adjacent blocks of gray

Anthony Thyssen <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <20100713092010.02a82aad@wraith>

On Sun, 11 Jul 2010 19:52:20 -0400
[email protected] wrote:
| I'm new to the list and not an expert on image terminology, so I
| apologize if my post is confusing.
| 
| How can I take a 100x100 light gray square, overlap it by 20 pixels with
| a 100x100 dark gray square, and have a smooth transition between the two
| shades of gray.  I don't want the 20x100 pixel transition to be medium
| gray, I want it to smoothly transistion from light to dark gray.
| 
| My ultimate goal:
| 
| I'm trying to represent a matrix of numbers as an image.  The numbers
| will be from 0 to 1, and each number will be represented as a 100x100
| square in a shade of gray.  The idea is that a person can look at the
| image and get an impression of the values in the matrix by how light or
| dark the image is.  I think hard transitions between squares will be
| distracting, so I'd like smooth transitions.
| 
| Thanks for any advice you can give.
| 

First the better place to get help is to use the IM Discussion Forum
  http://www.imagemagick.org/discourse-server/viewforum.php?f=1

However as for your problme have a look at  ImageMagick Examples,
Photo Handling, Overlapping Photos
   http://www.imagemagick.org/Usage/photos/#overlap

You may also like to look at 
Multi-Image Layers, and specifically  Examples of Layering images
   http://www.imagemagick.org/Usage/layers/#example

For Thumbnails, and adding frames, padding, fading around images see
   http://www.imagemagick.org/Usage/thumbnails/#fluff



  Anthony Thyssen ( System Programmer )    <[email protected]>
 --------------------------------------------------------------------------
  "Here, you're a zombie!"
  "That's right, kick a man when he's dead." said Constable Shoe sharply
                                              -- Terry Pratchett, "Jingo"
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.cit.griffith.edu.au/~anthony/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.