WEBSHADOW Name
WEBSHADOW Purpose
Add a shadow to a web page image.
Category
Calling Sequence
webshadow, image, back Inputs
image = name of image to shadow (GIF or JPEG). in
back = name of background image (GIF). in
Alternately background color may be given here instead:
Give as '#rrggbb' like '#ffffff' for white, '#000000' for
black, '#ff0000' for red, ... Must use # at front and
R,G,B values as 2 digit hex.
Standard Netscape gray is '#c0c0c0'.
Keyword Parameters
Keywords
/IJPEG means image is a JPEG file, else GIF.
/COLOR means make shadows in color, else BW.
Gives a translucent effect.
WIDTH=wid Shadow size (def=5).
BLUR=bl Shadow blurring (def=5).
SHADOW=sh Shadow darkness (def=0.5).
/JPEG means use JPEG method to combine RGB components.
Else use color_quan. Sometimes JPEG is a bit better.
/DITHER means use dithering in color combine algorithm.
Result is displayed on the screen.
Outputs
Common Blocks
Notes
Modification History
R. Sterner, 1995 Nov 21
R. Sterner, 1996 Sep 20 --- Added TRANS=trans.
R. Sterner, 1998 Jan 15 --- Dropped use of !d.n_colors.
Copyright (C) 1995, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.