Feature request for https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/imaging/#getpixels
Allow to pass multiple layer targetIDs.
It is needed to implement “current and below” thumbnail, without touching the document.
Next best option which is currently available is to make layers above invisible, get a thumbnail and revert back.
Oh, and “current and below” mode would be also nice to have for thumbnails.
You can pass multiple layer targetIDs in the Generator, so having it in the Imaging API would help people to port stuff from the generator.