> Unfortunately, the PIL library IPOL is using right now doesn't allow to > write 16 bit PNG and therefore it's not possible to select subimages in > this mode. You can work around PIL: since you already have C++ code for 16-bit PNG input/output, you could write a small program that performs the subimage cropping. Pascal