Thumbnail data for Artboards
Hey I wanted to generate thumbnail for each artboard in psd . But currently there is no pixel data available for each artboard , as it is for whole psd , or image layers . I was wondering If there was some way to generate that .
Initially I thought something like using a canvas to recreate artboard , as i have data for all layers of artboard and then convert it to png , but a fully functional canvas is not supported in UXP environment .
I was hoping if there's any idea on how we can achieve generating a thumbnail for each Artboard .
You can use composite image from psd.canvas it contains combined image of all of the artboards (see: https://github.com/Agamnentzar/ag-psd/tree/master/test/read/artboards ), so you can read artboard regions and cut the bitmap for each artboard from the composite image.