Hi, I just discovered that ofImage.resize() messes up when the image width isn’t divisible by 4- the image goes ‘slanty’ as the pixels go out of step.
This seems to be coming straight from the FreeImage library. I don’t know whether its been fixed in a newer version or anything.
My workaround is to crop from 1-3 columns of pixels off:
if (width%4!=0) crop((width%4)/2,0,(width/4)*4,height);