Change image borders processing