Cropping/moving images

i am attempting to use Fiji to convert .dat image files to .png files but when i import the .dat image it is not centred and i dont know how to alter the positioning of the image, as it is off centre and wrapping around

Hopefully someone else will have a quick and easy solution, but I do not know of any. It may be easiest to figure out what is wrong with the .dat file so that FIJI can read it correctly.

Otherwise, you would need to figure out how consistent the problem is. If the shift is in EXACTLY the same spot, you can probably code shifting the columns of pixels around. If the shift varies, the problem will be fairly hard.