This section describes details on main dialogs of PTools and scripting syntax.


Create Panorama

The Adjust command of PTools can work in four modes:

Create Panorama Options



Pressing Prefs in one of the main dialogs brings up this dialog

If Source and Result are differently sized

The "Filter"-plug-in interface of Photoshop does not allow the user to resize images, which is required by some Panorama Tools. If the result image is the same size (eg most transformations in the 'correct' submenu), it simply replaces the source image.
If the result image is larger or smaller than the source, you can set options how Panorama Tools should handle this situation by clicking the 'pref' button, which each tool displays. You can select among the options:

(a) Display Cropped/Framed Result image: This replaces your source image with the transformed image. Please note that you not only loose image information, but also some image characteristics: The horizontal field of view changes! Other than that it is the most convenient mode, and default.

(b) Save full sized Result to File: This creates a temporary file which holds the total result image. You can select path and filename for this file. Panorama Tools adds a unique identifier and the extension '.tif' to this name.

(c) Open Result with Application: Chooses if and with which application the saved result file shall be opened. On the Macintosh this is always the currently running Plug-in host, so to the user it looks as if the result were returned by the filter. On the PC this works with some plug-in hosts (Photoshop 4, Picture Publisher 6) but not with some others (Paint Shop Pro). In this case you have to select another application to display the result (the file format is TIFF). For this option to work, you have to check (b) also!

GraphicConverter can handle size changes, and thus displays only option (a) and (b), (b) not creating a file, but displaying the full-sized result.

Finally, combinations of the options are allowed, eg displaying a cropped image and saving the full sized image simultaneously is possible.

NOTE! Since the Get Pano command is a 'Filter' as well, these settings are important here. The Get Pano command inserts the buffer file (e.g. pano12.buf) into your image if (a) is selected. Since this is not desired in most cases you should deselect (a) and select (b) and (c). If nothing is selected nothing happens when choosing Get Pano.

On the Macintosh, the 'sleep' value can be set using the Resource editor 'ResEdit'. It is now set to 0, which results in maximum speed but prohibits background operations. To enable background operations, open the library file 'pano12.lib' (should be in your Extensions Folder) inside 'ResEdit', and find the resource named 'SLEP'. Open it, and change its value from "0000 0000" to something in the range "0000 0010" to "0000 0100". The larger this value, the more time is granted to background processes. Save and close the library file again.

Bicubic Interpolator

Pressing More in the dialog 'Prefs' (see above) brings up this dialog.
Distorting, scaling rotating and other image transformations requires adaequate interpolating.

Read more about the PTool interpolator:

<< Using PTools Comments welcome: Sascha Kerschhofer