The copy-external-image function returns a copy of the external-image , optionally supplying a new-color-table . An error is signalled if this is a different size from the existing color-table.
LispWorks CAPI Reference Manual (Windows version) - 14 Dec 2001