The
write-external-image
function writes an external image to a file
file
. It writes the image data byte-for-byte without attempting any conversion of the image format.
if-exists
is passed to
open
when opening
file
. The default value of
if-exists
is
:error
.