Make PSD image reader endianess-agnostic.
Review Request #122650 - Created Feb. 20, 2015 and submitted
By using the same strategy as the SoftImage PIC handler (and sharing some code with it), we should avoid reading the image data incorrectly on big-endian architectures.
Tests still pass.
As I was not able to get the new version of
long-runs.pic(because it's binary file), I applied only the
rle_p.hparts of the patch (but not
With these changes, the whole testsuite now succeeds on powerpc. There are also no regressions on amd64, arm64, i386 and ppc64el.