Modify derivative creation for TIFF and JPEG2000