Merge pull request #2 from olofsvensson/master

update
Added size check ifEMBL.
Merge pull request #5 from IvarsKarpics/master

Added image size check ifEMBL