Importing Channels

D
Posted By
Des
Mar 5, 2004
Views
235
Replies
1
Status
Closed
Hello

I want to import PhotoShop channels from PSD files into a small c++ program I’m writing.
Ideally I’d like this to be compatible with all versions of PS.

I wonder if someone could point me at some online resources that would help get me started.

Thanks
Des

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

MR
Mike Russell
Mar 7, 2004
Des wrote:
Hello

I want to import PhotoShop channels from PSD files into a small c++ program I’m writing.
Ideally I’d like this to be compatible with all versions of PS.
I wonder if someone could point me at some online resources that would help get me started.

If you really want to read PS files, and you have ps6 or older, look for the Software Development Kit (SDK) provided on the CD. Specifically you want to look at the file format specification for PSD files. For later versions of photoshop you will need a later version of the SDK, which will require joining the Adobe developer group.

But parsing a PSD file, even with docs, is a tall order.

I think an easier way to accomplish your goal may be to write your own filter plugin. That way you could ignore the file format, and version of PS, and allow Photoshop to open the file and provide the image data to your plugin. There are docs and examples showing how to write your own filter plugin.

Mike Russell
www.curvemeister.com
www.geigy.2y.net

Des wrote:
Hello

I want to import PhotoShop channels from PSD files into a small c++ program I’m writing.
Ideally I’d like this to be compatible with all versions of PS.
I wonder if someone could point me at some online resources that would help get me started.

Thanks
Des

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections