AdobeBridgeCS5SDK

Class SnpRotateImage

Object
   |
   +--SnpRotateImage

class SnpRotateImage


Shows how to use a BitmapData object to create and rotate images.

Usage

  1. Open the snippet in the ExtendScript Toolkit (see Readme.txt), setting Bridge CS5 as the target application.
  2. In Bridge, select one thumbnail representing an image file and run this snippet.
  3. You should see rotated JPEG images created from the thumbnails you selected.

Description

Shows how to rotate image files and export them as JPEG images, using the BitmapData object and the ExtendScript File object for a thumbnail.

You must select a single thumbnail for the image file to be rotated. The sample rotates the image both clockwise and counter-clockwise, creating two new image files.

Defined in SnpRotateImage.jsx


Field Summary
 String requiredContext
          The context in which this snippet can run.
 
Constructor Summary
SnpRotateImage()
           
 
Method Summary
 Boolean canRun()
           Determines whether snippet can be run given current context.
 Boolean run()
           Functional part of this snippet.

Field Detail

requiredContext

String requiredContext

Constructor Detail

SnpRotateImage

SnpRotateImage()

Method Detail

canRun

Boolean canRun()

run

Boolean run()

AdobeBridgeCS5SDK

http://www.adobe.com/devnet/bridge
Documentation generated by JSDoc on Tue Apr 27 10:21:34 2010