Skip to main content
Inspiring
January 14, 2014
Answered

Cutting elements by alpha

  • January 14, 2014
  • 2 replies
  • 692 views

Hi.

I'm trying to cut elements in a document that has transparency (in this case lines of rasterized text) so that each element becomes a separate layer.

I was wondering if there is anything in photoshop scripting that could help me with this.

Ideally it would be something like cutting chunks that have more than X transparent pixels between them.

Though from my understanding those kinds of operations are only possible with Pixel Bender which is now defunct?

This topic has been closed for replies.

2 replies

EnsilZahAuthor
Inspiring
January 19, 2014

Thanks.

EnsilZahAuthor
Inspiring
January 14, 2014

Well, I've made some progress since I posted.

My strategy is:

1. Stroke the document to the required amount of distance.

2. Select stroked pixels and convert selection to a path.

3. Convert the path's subpaths to individual paths <--- Haven't figured out this stage yet.

4. Select each individual path and cut from the original layer using this selection.

Known Participant
January 14, 2014

thanks  but still i need in script form because i have no idea of javascripting...