Skip navigation
Currently Being Moderated

SWF Panel: how to get/set pixel or better - grab and paste BitmapData

Apr 2, 2013 12:23 AM

Tags: #photoshop #swf #windows #plugin #sdk #cs6 #panels

Hi everyone,


trying to understand how to read and write pixel color from image or better - current layer but can't understand how to do this. Does this even possible? Main idea - it's pick current layer, put it to the SWF Panel. Doing there some modifications and back to Photoshop or write it by pixel. Doesn't matter.


How know?


I'm using Win7 x64, Photoshop CS6

  • Currently Being Moderated
    Apr 9, 2013 3:35 PM   in reply to Anton Azarov

    We don't have a direct way of getting the pixel data back and forth from a panel.


    You could try to get a socket connection via the Connections SDK and get pixel data that way. Not sure how much effort that would be. There is an AIR example in the connections SDK but I'm not certain if the socket interface will work inside of the SWF Panel.


    Telling Photoshop to write them out to disk and then read them into your panel would probably be pretty clunky.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points