fixed logo image resampling