Aspose.Imaging.Image-Merge
24.3.0
dotnet tool install --global Aspose.Imaging.Image-Merge --version 24.3.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Aspose.Imaging.Image-Merge --version 24.3.0
#tool dotnet:?package=Aspose.Imaging.Image-Merge&version=24.3.0
nuke :add-package Aspose.Imaging.Image-Merge --version 24.3.0
Aspose.Imaging Micro Apps
Aspose.Imaging Micro Applications supply high-level image processing scenarios useful for end-users.
Work over Aspose.Imaging .NET API.
Aspose.Imaging Image Merge Micro Application
It allows creation of collage from several input images in desired image format.
What's new?
Competitive features
Various input and output image formats are supported as per Aspose.Imaging supported file formats list;
Various merge layouts are supported (horizontal, vertical, grid);
Various image adjustments are supported (to the biggest image, to the smallest image, or without adjustment);
Resulting image may be limited by width, height;
Setting of margin size and background color are supported;
We always keep the aspect ratio on merge, so the proportions of your photo are not affected;
Aspose.Imaging Image merge micro application may be used via the command line or consumed by your C# code via.NET7 compatible API.
Licensing
Although Aspose.Imaging Image merge application is free, Aspose.Imaging .NET is licensed as usual, so you may reuse you reuse your license via application or evaluate the application using Aspose.Imaging .NET in trial mode.
System Requirements
-.NET7 on Windows, Linux, MacOs;
-Aspose.Imaging Image Merge application installed.
Installation
Please issue the command :
dotnet tool install --global Aspose.Imaging.Image-Merge
If you've already installed the application - update supported via the command :
dotnet tool update --global Aspose.Imaging.Image-Merge --version 24.3.0
Usage
Use from command line:
Aspose.Imaging.Image-Merge --input photo_1.jpg+photo_2.jpg+photo_3.jpg+photo_4.jpg+photo_5.jpg+photo_6.jpg --output photo_collage_unlicensed.png --format png --adjustment Biggest --direction Vertical --background-color MediumSeaGreen --margin-size 3 --max-columns 2 --max-rows 3 --max-width 500
Use from code:
To add required references to your project please issue command
Aspose.Imaging.Image-Merge add -p YourProjectFolder
setting YourProjectFolder to the real value or simply run it from the project folder.
var options = new ImagingMergeOptions()
{
InputImages = "photo_1.jpg+photo_2.jpg+photo_3.jpg+photo_4.jpg+photo_5.jpg+photo_6.jpg".Split("+"),
ToFormat = "png",
BackgroundColor = "MediumSeaGreen",
Direction = MergeDirection.Vertical,
MarginSize = 3,
AdjustmentType = MergeAdjustmentTypes.Biggest,
OutputImagePath = "photo_collage_licensed.png",
MaxRows = 3,
MaxColumns = 2,
MaxWidth = 500
};
// You may set path to your Aspose.Imaging .NET license file via parameters
if (isLicensed)
{
options.LicenseFile = "Aspose.Total.Product.Family.lic";
}
await MergeTasks.Create(options).Execute();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.