fix a segv with icc import/export

would segv for very wide images