Saves an image to a PSD file, along with the specified layers.
public void SavePsdWithLayers(
Leadtools.RasterImage image,
string fileName,
int bitsPerPixel,
Leadtools.RasterImage layerImages,
Leadtools.Codecs.CodecsPsdLayerInfo[] layerInfos
)
Public Sub SavePsdWithLayers( _
ByVal image As Leadtools.RasterImage, _
ByVal fileName As String, _
ByVal bitsPerPixel As Integer, _
ByVal layerImages As Leadtools.RasterImage, _
ByVal layerInfos() As Leadtools.Codecs.CodecsPsdLayerInfo _
)
public void SavePsdWithLayers(
Leadtools.RasterImage image,
string fileName,
int bitsPerPixel,
Leadtools.RasterImage layerImages,
Leadtools.Codecs.CodecsPsdLayerInfo[] layerInfos
)
function Leadtools.Codecs.RasterCodecs.SavePsdWithLayers(
image ,
fileName ,
bitsPerPixel ,
layerImages ,
layerInfos
)
public:
void SavePsdWithLayers(
Leadtools.RasterImage^ image,
String^ fileName,
int bitsPerPixel,
Leadtools.RasterImage^ layerImages,
Leadtools.Codecs.array<CodecsPsdLayerInfo^>^ layerInfos
)
image
The image to save.
fileName
The output file name.
bitsPerPixel
Resulting file's pixel depth. For color images this can be 24 or 32. For grayscale images this can be 8.
layerImages
An RasterImage object that contains layers (in each page) to save in the output file. The layers should have the same bits per pixel as the file. Every page in the image will be saved as a layer. The first page in the image will be interpreted as the first layer. The pages in the image must have the same bits per pixel as specified in bitsPerPixel.
layerInfos
An optional array of CodecsPsdLayerInfo objects. If this is a null reference , then each layer will start at (0, 0) and will have the same size as the image. If this is not a null reference, then the layer information for each layer in layerInfos will be stored here.The number of CodecsPsdLayerInfo objects must be the same as the number of pages in layerImages.
Use this method to save PSD files with layers.
For an example, refer to LoadPsdLayer.
Products |
Support |
Feedback: SavePsdWithLayers Method - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.