So you have an image where each pixel represents a tile on a map?
You can paste this image onto DrawingCanvas, then read pixels from the canvas:
DrawingCanvas paste Map
DrawingCanvas Save Snapshot
Wait for previous actions to complete
After that you can use expressions like DrawingCanvas.SnapshotBlueAt(x,y) to get pixel color.