Aspose::Pdf::Facades::PdfConverter::MergeImages method

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)
ParameterTypeDescription
inputImagesStreamsSystem::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>>The list of image streams to merge.
outputImageFormatAspose::Pdf::Drawing::ImageFormatImage output format for merged stream.
mergeModeImageMergeModeMerge mode. Used for Png/Jpg formats.
horizontalSystem::Nullable<int32_t>Horizontal ratio to set canvas width for output image stream. Used for Png/Jpg formats with ImageMergeMode.Center only.
verticalSystem::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