> I have now a simpler question: how do I save a jpeg file in another
> jpeg file.
Here's one way:
save document 1 appending lowercase extension as JPEG in file
newFilePath with options {embed color profile:false, format
options:standard, quality:4} with copying
HTH,
ES