Merge Image to BMP in C#

Powerful cross-platform .NET API for merging Image to BMP files using C# code on NET Framework, .NET Core, Windows Azure, Mono or Xamarin Platforms

Merge Image to BMP using Aspose.Slides

Aspose.Slides for .NET is a powerful .NET library used to create, convert, merge, and manipulate presentations, PDFs, images, and other files. When you merge image to BMP, you are effectively combining images to obtain a single BMP file.

Merge Image to BMP in C#

Using Aspose.Slides for .NET , you can merge image to BMP quickly with just a few lines of code

C# code for merging Image to BMP

using (Presentation pres = new Presentation())
{
    IPPImage image = pres.Images.AddImage(File.ReadAllBytes("image1.png"));
    pres.Slides[0].Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 0, 100, 100, image);

    IPPImage image2 = pres.Images.AddImage(File.ReadAllBytes("image2.png"));
    pres.Slides[0].Shapes.AddPictureFrame(ShapeType.Rectangle, 0, 200, 100, 100, image2);

    pres.Slides[0].GetThumbnail(new Size(960, 720)).Save("MergedFile.bmp", ImageFormat.Bmp);
}

How to merge Image to BMP in C#

  1. Install Aspose.Slides for .NET. See Installation .

  2. Add the library as a reference in your project.

  3. Create an instance of the Presentation class.

  4. Load the images you want to merge together as picture frames.

  5. Save the resulting BMP file.

Merge PDF Files Online

How to Merge PDF in Python

Merge other files

You can also combine files in other formats to get a single file