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

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

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 Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections