Add jpeg image to another in C#

Posted by o-logn on Stack Overflow See other posts from Stack Overflow or by o-logn
Published on 2010-03-12T17:50:46Z Indexed on 2010/03/12 17:57 UTC
Read the original article Hit count: 742

Filed under:
|
|
|

Hey,

I have a two jpeg files. One is 1024x768 in size and the other is 64x64. I'm creating a console application and would like to add the 64x64 image at location (X,Y) into the 1024x768 image. How can I do this in memory (since I'm not using winforms and would like this to be quite fast)?

I've converted the larger image into bytes using File.ReadAllBytes, but I'm not sure how to insert the smaller image at a particular location. Thanks for any help

© Stack Overflow or respective owner

Related posts about c#

Related posts about jpeg