Well that's nearly 4 years old version of Imaging, no 64-bit compatibility was in back then.
It's the lines like this one:
Code:
Inc(LongWord(Dest), PtrInc * LinesRead);
that cause problems - assumes sizeof(pointer) = 32.

You can fix those lines or just upgrade to newer Imaging version.