Save layer masks to TIFF files
Hello! I am using Export Layers To Files.jsx from here: https://gist.github.com/davestewart/4529727
But now i want to export layer masks to files. As in the image, I want to save masks marked with a red edge to the files

using Export Layers To Files.jsx code I receive files saved in this way :

But i need to save masks like that:

Is that possible to modify Export Layers To Files.jsx to do it?
[ by moderator: please link to your similar questions with the same topic!
Give a feedback and mark them as helpful or correct - do not open multiple threads ]
