Skip to content

Commit

Permalink
document animation with the session loader
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Nov 3, 2023
1 parent 2c97da6 commit 431fe16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Prima/Image/Animate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,16 @@ format name on success, undef otherwise.
Loads a GIF, APNG, or WebP animation sequence from C<$SOURCE> which is either a
file or a stream. Options are the same as used by the C<Prima::Image::load> method.
Depending on the C<loadAll> option, either loads all frames at once (1), or uses
C<Prima::Image::Loader> to load only a single frame at a time (0, default).
Depending on the loading mode, some properties may not be available.
=head2 add $IMAGE
Appends an image frame to the container.
Only available if the C<loadAll> option is on.
=head2 bgColor
Returns the background color specified by the sequence as the preferred
Expand Down Expand Up @@ -753,7 +759,7 @@ Returns the width of the composite frame
=head1 SEE ALSO
L<Prima::image-load>
L<Prima::image-load>, L<Prima::Image::Loader>.
=head1 AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion Prima/Image/Loader.pm
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,6 @@ Dmitry Karasik, E<lt>[email protected]<gt>.
=head1 SEE ALSO
L<Prima::Dialog::ImageDialog>.
L<Prima::Dialog::Animate>.
=cut

0 comments on commit 431fe16

Please sign in to comment.