Can you explain where the location of the 10.234 pixel is? pixels are whole numbers, ie integers.
If your data is double, you need to round it and cast it to an int


If you think there is a...