Name
Spread( ) — randomly displace pixels
Synopsis
$image->Spread(amount=>integer
)
Spread( )
will
randomly displace
pixels within a block defined by the amount
parameter, as shown in Figure 5.13.
Figure 5-13. $image->Spread(amount => 5)
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.