This is the command ppmshadow that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
ppmshadow - add simulated shadows to a portable pixmap image
SYNOPSIS
ppmshadow [-b blur_size] [-k] [-t] [-x xoffset] [-y yoffset] [-u] [pnmfile]
DESCRIPTION
ppmshadow adds a simulated shadow to an image, giving the appearance that the contents of
the image float above the page, casting a diffuse shadow on the background. Shadows can
either be black, as cast by opaque objects, or translucent, where the shadow takes on the
colour of the object which casts it. You can specify the extent of the shadow and its
displacement from the image with command line options.
OPTIONS
-b blur_size
Sets the distance of the light source from the image. Larger values move the light
source closer, casting a more diffuse shadow, while smaller settings move the light
further away, yielding a sharper shadow. blur_size defaults to 11 pixels.
-k Keep the intermediate temporary image files. When debugging, these intermediate
files provide many clues as to the source of an error. See FILES below for a list
of the contents of each file.
-t Consider the non-background material in the image translucent -- it casts shadows
of its own colour rather than a black shadow, which is default. This often results
in fuzzy, difficult-to-read images but in some circumstances may look better.
-u Print command syntax and a summary of options.
-x xoffset
Specifies the displacement of the light source to the left of the image. Larger
settings of xoffset displace the shadow to the right, as would be cast by a light
further to the left. If not specified, the horizontal offset is half of blur_size
(above), to the left.
-y yoffset
Specifies the displacement of the light source above the top of the image. Larger
settings displace the shadow downward, corresponding to moving the light further
above the top of the image. If you don't specify -y, the vertical offset defaults
to the same as the horizontal offset (above), upward.
Use ppmshadow online using onworks.net services