Graphic library
-
Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.
-
Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.
Have you tried anything, what was the problem ? and what is "fast" ? I would suggest you experiment a bit with GDI+ and form your opinion based on that; then, if still necessary, start looking for specific things. :)
Luc Pattyn
-
Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.
GDI+ will copy part of an image on top of another image.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Hi, I'm looking for graphic library which make possible fast copying part of image and pasting this sample to another image in selected position. I need it for implementing some texture synthesis algorithm. If you know such a library, I'll be grateful for any help.
-
The GDI+ library works realy fast, how fast it can be, I'll see tomorow :) Thanks for indication me the right path, previously I convert a Bitmap to byte array and work with it. It have caused many problems with image stride.
Yeah, if you access the stride, it will blow up. It's good for image processing, for drawing, you're better off trusting GDI+ to know what it's doing.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert