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

padding support in ChannelPorts Suite

Community Beginner ,
Jul 26, 2010 Jul 26, 2010

Copy link to clipboard

Copied

Is it possible to get access to pixels outside the image area using the ChannelPorts Suite? In a standard way (using filterRecord, setting input/output/maskPadding fields to plugInWantsEdgeReplication and requesting rects that exceeds image boundaries) there is no problem, but when I tried similar thing with ReadPixelsFromLevel function, it does not work. When I passed the rect with top and left set to, for example, -5, the function changed the bounds to 0. I need to read from various layers and I also have to access pad pixels. Is there any solution for this?

TOPICS
SDK

Views

674

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 ,
Jul 27, 2010 Jul 27, 2010

Copy link to clipboard

Copied

Setting canvas bounds to include all data you may need to access and then resetting it back should work.

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
Community Beginner ,
Jul 28, 2010 Jul 28, 2010

Copy link to clipboard

Copied

LATEST

Thanks, I had to modify my tiling algorithm and it works now. However, it seems that pad pixels aren't duplicated or I have some bug in my app. I have explicitly set input/output/maskPadding to plugInWantsEdgeReplication.

Maybe someone knows whether pad pixels are set to random or to duplicate canvas edge pixels when working with ChannelPorts Suite?

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