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

PdfConverter::MergeImages method

Fusiona una lista de flujos de imágenes en un solo flujo de imágenes. Se admiten los formatos de salida Png/jpg/tiff; en caso de usar un formato no compatible, el flujo de salida se codifica como Jpeg por defecto.

static System::SharedPtr<System::IO::Stream> Aspose::Pdf::Facades::PdfConverter::MergeImages(const 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)
ParámetroTipoDescripción
inputImagesStreamsconst System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>>&La lista de flujos de imágenes para combinar.
outputImageFormatAspose::Pdf::Drawing::ImageFormatImage formato de salida para el flujo combinado.
mergeModeImageMergeModeModo de combinación. Usado para formatos Png/Jpg.
horizontalSystem::Nullable<int32_t>Proporción horizontal para establecer el ancho del lienzo del flujo de imagen de salida. Usado solo para formatos Png/Jpg con ImageMergeMode.Center.
verticalSystem::Nullable<int32_t>Proporción vertical para establecer la altura del lienzo del flujo de imagen de salida. Usado solo para formatos Png/Jpg con ImageMergeMode.Center.

ReturnValue

Image stream encoded as output image format.

Ver también