Results 1 to 6 of 6

Thread: How to sum Bitmaps

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24

    How to sum Bitmaps

    Hi all

    I have this two bitmaps i want to add and send to a file.


    Code:
    Mybitmap1 = new Bitmap(MyFilePath1);
    Mybitmap2 = new Bitmap(MyFilePath2);
    
    
    MySumBitmap = Mybitmap1 + Mybitmap2; 
    
    
    MySumBitmap.Save(MySumPath);

    How to do that sum?


    Ty in advance!!

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    So you want to have the two images into one ? or what ?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24
    Yes thats right. Sum into one and make a bmp file.

  4. #4
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    Are u talknig about merging images? If so take a look at this

    http://www.codeproject.com/csharp/wa...asp?print=true

  5. #5
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    Just create a bitmap that is horizontally the size of the width of both images and then draw them and save it in the end lol
    \m/\m/

  6. #6

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    24
    I got it!!


    Thanks John, i read the article and got it!!!! Its well documented!!

    Ty all

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width