• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Multi-layer filter

Community Beginner ,
Dec 17, 2009 Dec 17, 2009

Copy link to clipboard

Copied

It's possible to make a multi-layer filter plugin? The idea is: the user has open a multi-layer document, then execute the plugin and selects N layers of the document in the filter UI,  and when clics "OK", the plugin create a new layer adding every selected layer pixel by pixel.

LAYER A             LAYER B                      RESULT LAYER

0 0 5 5 5                1 1 2 1 1                           1 1 7 6 6

0 0 0 5 5       +       1 1 3 1 1            =             1 1 3 6 6

0 0 0 0 5                1 2 3 2 1                           1 2 3 1 6

Any advice?

Thanks!

TOPICS
SDK

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Contributor ,
Dec 22, 2009 Dec 22, 2009

Copy link to clipboard

Copied

You'll probably have to use a combination of automation and filter plugins wrapped into a single SuspendHistory call: e.g. create a new layer from the automation, run your GUI, run filter and read/write the actual pixel data from there.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Dec 22, 2009 Dec 22, 2009

Copy link to clipboard

Copied

You haven't told us exactly what you're trying to do, but What you described could also be done via a layer stack plugin.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Apr 24, 2010 Apr 24, 2010

Copy link to clipboard

Copied

LATEST

A filter plug-in can read from any layer using the channel ports suite. See the Poor Mans Type Tool example. A filter plug-in can only write to the active layer. You cannot add a layer from a filter plug-in. You would need the auto/filter combo as Chris talks about. See the autofilter/hidden combo example or the format/auto for importing text files example.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines