-
Help me !
I have a large GIF file of size - 2000 x 2000. i have loaded it into a pic box. based on some user input i am showing portions of the GIF file in another pic box of a smaller size. something like a zoomed view.
my program allows the user to place a few symbols on the second pic box and save it. i need this to be reflected in the ORIGINAL gif while saving it. can i do this? how?
please help
sunithi
-
what do you mean with "a few symbols"? if you pset something on there (or SetPixel or some other drawing operation) just draw it on the original PicBox too. I think it would have to be set to Autoredraw = true
than you can just save the original picbox.
-
The symbols are actually small pictures which are placed as image controls, loaded as control array, wherever the user wants. I cannot right away store it to the original picture as they may delete it at any point of time. the user is given the delete tool also.
so i have to transfer these images to the original only when the user wants to print / save the original.
can u give me some ideas on this?
sunithi
-
well then use bitblt right before saving or printing.
you need to declare the bitblt api.
If you never worked with it there are tons of examples for it all over the place :)
most of them are game tutorials though. Well the MSDN does explain it well enough I think.
You might have to use StretchBlt though if you need to magnify the little symbols.