I’m trying to find a way to save and publish out .png and .tiff’s from Photoshop but it doesnt want to take it (the list appears but it the defaults back to .psd when saving).
I managed to get .psb (Photoshop Large File Format) saving.
I’ve been looking into it, and it seems that our adobe.save_as(doc, file_path) will save it as either a psd or psb, but does not account for any other file types.
However I think you could modify the scene operations hook to check the file extension type and perform a different save option if it’s not psd or psb:
Here is an example of how to save a jpg:
And here is the Adobe reference docs as a guide:
It looks like you just need to get the correct options and then pass them to the save method, something like (not tested):