Aspose::Pdf::Facades::PdfConverter::MergeImages method
Contents
[
Hide
]PdfConverter::MergeImages method
Merges list of image streams as one image stream. Png/jpg/tiff outputs formats are supported, in case of using non supported format output stream encoded as Jpeg by default.
static System::SharedPtr<System::IO::Stream> Aspose::Pdf::Facades::PdfConverter::MergeImages(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>> inputImagesStreams, Aspose::Pdf::Drawing::ImageFormat outputImageFormat, ImageMergeMode mergeMode, System::Nullable<int32_t> horizontal, System::Nullable<int32_t> vertical)
Parameter | Type | Description |
---|---|---|
inputImagesStreams | System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>> | The list of image streams to merge. |
outputImageFormat | Aspose::Pdf::Drawing::ImageFormat | Image output format for merged stream. |
mergeMode | ImageMergeMode | Merge mode. Used for Png/Jpg formats. |
horizontal | System::Nullable<int32_t> | Horizontal ratio to set canvas width for output image stream. Used for Png/Jpg formats with ImageMergeMode.Center only. |
vertical | System::Nullable<int32_t> | Vertical ratio to set canvas height for output image stream. Used for Png/Jpg formats with ImageMergeMode.Center only. |
ReturnValue
Image stream encoded as output image format.
See Also
- Enum ImageFormat
- Enum ImageMergeMode
- Class PdfConverter
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++