Hi.
This is my first post. I've spent a lot of time testing different approaches and of course searching the forums before posting this. It's been 3 days already, so I think it's about time I ask the experts.
I'm trying to merge several images into one big file. Images should be aligned one next to the other. So far I've got almost everything. I'm creating an empty image (like a canvas to paint on) with transparency. I can save it to a PNG format. It works, but I don't want to save it just yet. I want to read a couple of images (all same predefined size) and draw them on the canvas. This is what doesn't work. The funny thing is, that when I use _ScreenCapture_Capture instead of reading the file it works, but I can't make it work with a file. There are so many ways to load a file and I'm getting lost.
Right now I'm trying to read a JPG file (so no transparency). I can't make it work, however it does work if I use screen capture (as explained above) and the canvas gets filled with multiple copies of my screen capture area as expected. In the end I'll be loading PNG files which also include transparency - I don't know if it makes any difference, but I thought to point that out.
I'm using _GDIPlus_GraphicsDrawImage to paint on the "canvas".
Any ideas?