>You can already do this. Simply save your image and "Ignore" the export step. >All fileformats that only handle a single layer silently only save that >single >layer. But there seems to be no way to do it from a script. I had to resort to duplicating the entire image and delete the unwanted layers, which seemed slightly wasteful.