![]() |
Adobe Photoshop SDK |
|
Photoshop Sample CodeThis page provides an index for and description of the sample code provided with the Photoshop SDK.Color Picker SamplesSampleCode/ColorPicker/NearestBaseNearestBase is a sample color picker plug-in that demonstrates simple returning of colors with no user interface. Export SamplesHistoryHistory is a sample Export module primarily concerned with demonstrating the Pseudo-Resource callbacks. It works in conjunction with the Propetizer plug-in to maintain a series of history strings for a file.
PathsToPostScript
Outbound Filter SamplesDissolveDissolve is a sample filter plug-in which demonstrates the use of accessing pixel data using a tilling scheme. In previous versions of the SDK there was the combination of Dissolve-Sans and Dissolve-With plug ins. This combines those two plug ins into one. Using the tilling scheme has increased the speed of this plug in by 2.
Propetizer
ColorMunger
Hidden
MFCPlugin
PoorMansTypeTool
Format SamplesSimpleFormatSimpleFormat is a sample Format module. The name may be misleading. This example shows many new features available and added over time to the file format plu-in interface. The example deals with transparency, 32 bit documents, large documents, pseudo-resources, etc. This module is written to use the AdvanceStateProc callback, introduced in Photoshop 3.0. Import SamplesGradientImportGradientImport is a sample import module. This version of GradientImport requires at least Photoshop 3.0, since it uses the advanceState callback and the improved multiple import design. It is also updated for scripting and has a detailed example of exporting scripting information for multiple import structures. Selection SamplesSelectoramaShapeSelectorama is a sample selection plug-in that demonstrates pixel selection based on certain criteria. Shape is a sample selection plug-in that demonstrates creating paths. These two plug-ins come in one binary. This example shows how to manage two plug-ins in one project. Stack Renderer Samples |