Archive for April, 2011

Want to create Photoshop apps with AIR, Flash, and AS3?

Today Adobe announced the upcoming release of Photoshop CS 5.5, including API support for iOS and Android. This support includes the Photoshop Touch SDK for AS3, which I created with the help of Renaun Erickson. The Touch SDK allows you to interface directly with Photoshop from your Flash and AIR apps on the web, desktop, Android, or iOS devices. This should be particularly exciting to application developers who are keen to work on apps targeting creative professionals.

The applications that will be created are surely numerous, and the Adobe engineers will likely see the community create applications we couldn’t have imagined. To get an idea of what Adobe’s done with it so far, check out:

  • Adobe Color Lava: Allows you to mix colors on the iPad, and send them to Photoshop
  • Adobe Eazel: Create paintings with your fingers, and send them directly to Photoshop for compositing, tweaking, etc.
  • Adobe Nav: Control Photoshop tools using the iPad, including zoom and file control

You can learn more about these applications on the Blog, and here’s a video on YouTube demonstrating it.

All those above apps are written in Java or Objective C; the Photoshop Touch SDK works great in native code, but I didn’t want Flash and AIR developers to be left out.

Thus, with the help of my colleague Renaun Erickson, I wrote the Photoshop Touch SDK for AS3, which allows you to drop a SWC into your Flash or AIR apps and interface directly with Photoshop. The SDK is public starting today, but you won’t be able to connect to Photoshop until you get a build of CS 5.5:

  1. Visit the Adobe Photoshop Developer Center to learn about the Photoshop Touch SDK.
  2. If you’re interested in participating in the community, join the Photoshop 12.1 Developer’s Prerelease Program
  3. Download the entire Photoshop Touch SDK. The AS3 API is listed in the docs as “Photoshop Touch SDK (AIR).” Click that, read the API’s documentation, and start coding!

You can also wait until Photoshop CS 5.5 is released, if you don’t want to join the prerelease program.

In the coming blog posts, I’ll give you tutorials and videos on how to use the PhotoshopConnection, MessageDispatcher, and other parts of the Photoshop Touch SDK for AS3 to control Photoshop CS 5.5.

If you do participate in the prerelease, be sure to use the forums and post suggestions and comments, and I’ll respond. There are many areas I want to improve and features I want to add, but developer feedback is the best way to know what I should prioritize.

Update: Here’s a video showing the three Photoshop apps more clearly

Update: As Tom Ruark points out below, the remote connections update for Photoshop CS 5 is free. Run the updater from within Photoshop to get 12.0.4, and you should have the “Edit/Remote Connections” option.

Update 6/16/2011: The Adobe Developer Connection has now published a full article I did on the Photoshop Touch SDK: check it out here. It will guide you through setting up a project, connecting to Photoshop, sending and receiving data, managing subscriptions, and some additional topics.