Did you upload your dynamic loader unit? OpenJpeg.pas changed since 0.24. For example there is a new field in opj_image_comp record just before data field which could be the reason of your image.comps[Z].data[Y * Width + X] access violation.

What Linux distribution do you use? I testes static loader in Mandriva, SUSE, and Fedora and it worked ok there.