Convert image
Fix regexp