Name
Wave( ) — special effects filter
Synopsis
$image->Wave(geometry=>geometry,
amplitude=>float,
wavelength=>float
)
The Wave( )
filter creates a
“ripple” effect in the image, as shown in Figure 5.16, by shifting the pixels vertically along a
sine wave whose amplitude and wavelength is specified by the given
parameters.
Figure 5-16. $image->Wave(’20x10')
Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.