|
-
Feb 18th, 2002, 10:24 PM
#1
Thread Starter
Member
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
-
Feb 19th, 2002, 06:44 AM
#2
Frenzied Member
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.
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 19th, 2002, 07:20 AM
#3
Thread Starter
Member
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
-
Feb 19th, 2002, 07:34 AM
#4
Frenzied Member
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.
Sanity is a full time job
Puh das war harter Stoff!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|