Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all articles
Browse latest Browse all 54282

Filter Plugin: Accessing image file data

$
0
0

Hello,

I have just started working with photoshop cs6 sdk and plugin development, so I will like to apologize in advance if I ask any stupid questions.

 

I need to write the pixel data to the canvas depending upon a secondary image which should be loading on run time(i.e. on user request), hence i need to access image files pixel data on the go and write to the canvas a merged image(image data + read pixels from canvas).

As I understand for reading and writing to canvas pixel data as well as to provide UI dialog, I will need Filter plugin, hence I am using the same as my base.

 

The issue is I am unable to find any Photoshop API calls which will fetch image data from the file when invoked from Filter plugin. I will like to know if I am missing something or I need a different approach for example loading via C++ file handling.

Or do I need to change my base to some other plugin module?

 

Also I will like to know if we can bundle images together with a plugin because I want to provide image thumbnails to the user rather than having him type in the path of the image. For clarification user will be restricted to selecting certain images to edit to, rather than browsing and selecting the images.


Viewing all articles
Browse latest Browse all 54282

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>