Here's a description from google.
"Every icon has (at least) a foreground image and a shadow image. The
shadow should be created at a 45 degree angle from the foreground image,
and the bottom left corner of the shadow image should align with the
bottom-left corner of the icon foreground image. The shadow should be
a 24-bit PNG images with alpha transparency so that the edges of the
shadow look correct on top of the map."
here are examples of google's default icon & its shadow:
http://www.google.co.uk/intl/en_uk/mapfiles/marker.png
http://www.google.co.uk/intl/en_uk/mapf ... adow50.png
I found a related post here...
http://studio.imagemagick.org/pipermail ... 16805.html
...but that post's examples were incomplete/didnt work out correctly.
example from the above post:
Code: Select all
convert -background none -shear 30x0 -scale x50% -shadow 50 i.png o.png
I was hoping someone might be able to help me figure out how to create such shadows using IM/convert.
Basically, I want to emulate what's being done on the following website:
http://www.cycloloco.com/shadowmaker/
this site dynamically, correctly creates "google maps shadows" for png images.
Id like to do the same using convert.
Please help,
thanks,