Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SpiderImagePlugin: raise an error when seeking in a non-stack file
Using ImageSequence.Iterator on a non-stack SPIDER image leads to infinite loop. EOFError (which stops the iteration) is never raised because when the image isn't a stack, seek() returns gently without error.
- Loading branch information