add method to extract number to improve comparison
Merge pull request #70 from praekelt/feature/fix-image-resizer

add method to extract number to improve comparison