Sets the image virtual pixel method.