Return false if image width or height equal 0
Return false if image width or height equal 0