Tool for oversampling images