Pull requests

#1 Merged
Repository
jerzyk jerzyk
Branch
default
Repository
hhatto hhatto
Branch
default

add iterator and indexed access to the ImageList

Author
  1. jerzyk
Reviewers
Description

e.g. save all animated GIF images to separate files: {{{ from pgmagick import ImageList

image_list = ImageList() image_list.readImages('animated.gif') for image, index in zip(image_list, range(len(image_list))): image.write('slide%d.gif' % index) }}}

  • Learn about pull requests

Comments (0)