Python saving multiframe TIFF as multiple JPEG -
i have tiff file multiple frames. found if open tiff file , call seek(1)
can seek second frame. working, except when go save image jpg, saves first frame , not current frame.
how can save multiple frames different jpg files?
from pil import image im = image.open('test.tiff') im.save('test.jpeg')
i need like...
from pil import image im = image.open('test.tiff') im.seek(1) im.save('test.jpeg')
and have save second frame , not first.
Comments
Post a Comment