Name
delay — set GIF interframe delay
Synopsis
$image->Set(delay=>{0..65535}) $image->Get('delay')
The delay
option
may be used to regulate the playback
speed of an animated GIF. This integer is the number of hundredths of
a second that should pass before displaying the next image in a
sequence. The default is 0, which indicates that the animation should
play as fast as possible. In this case, actual speed can vary from
system to system so it is best to either specify a delay that looks
good or be sure to test the results on a range of platforms. The
maximum delay is 65535 (almost 11 minutes).
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.