Add separate error handling to file opening and fix image resizing
Add separate error handling to file opening and fix image resizing


lggomez/dedupify,lggomez/dedupify,lggomez/dedupify,lggomez/dedupify