DAGDA SEARCH | Back to results | Support

MacPython / Photo Shop - Python Wiki

Source: https://wiki.python.org/python/platforms/MacPython/PhotoShop.html

  1. Python Wiki /
  2. Python Wiki /
  3. Platform-Specific /
  4. MacPython /
  5. MacPython / Photo Shop
View as Markdown

MacPython / Photo Shop

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

/AppscriptModule scripting for /PhotoShop

To apply unsharp mask to the first layer of the first document:

   1 ps = app("Adobe Photoshop CS")
   2 ps.filter_(ps.documents[1].art_layers[1], using=k.unsharp_mask, with_options={k.threshold:2, k.amount: 200.0, k.radius: 1.0})

You need the latest version of /AppscriptModule for the  filter_()  command to work correctly.

PreviousMacPython / Panther Addons Next MacPython / PyInterpreter