|
-
Feb 20th, 2002, 09:15 AM
#1
Thread Starter
Member
StretchBlt and picturebox
Hey, I take a screen shot of my desktop and use stretchblt to put it in a very small picture box so I can save it small (instead of the 1.4mb that is created).
Now I need to open up this small bmp and resize it to be full again. I have tried stretchblt and paintpicture to a new picture box, but the image is real distorted. It does increase the size, but looks awful.
Does anyone know of a way to do this?
-
Feb 20th, 2002, 09:34 AM
#2
Frenzied Member
I think on www.ur.co.nz is a tutorial on how to properly resize images.
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 20th, 2002, 09:38 AM
#3
Thread Starter
Member
thanks, but that isn't what I am looking for.
-
Feb 20th, 2002, 10:55 AM
#4
Fanatic Member
Once you have shrunken your image you can't get the original image back, you will lose pixels in the process. You can use a better algorithm to resize to full size again, but it will never look as good as the original...
Try using another way to save the file, like JPG or PNG. JPG is easier since there is a nice DLL floating around the web, although JPG still loses some image quality, depending on the settings... PNG is better, it's a lossless compression, but that means that if you don't use some palette optimization or other tricks (like JPG does) it will be somewhat larger than JPG...
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Feb 20th, 2002, 11:12 AM
#5
Thread Starter
Member
Ok, thanks. I just thought if you stretchblt a bitmap, you could resize it again to its original self, but I guess its not possible.
How do remote control programs work then? Even if they save as a smaller file, still seems over an internet connection it would be very slow. IE gotomypc.com works really well via 56k modem line. How is that possible without smaller files?
-
Feb 20th, 2002, 12:13 PM
#6
Fanatic Member
like I said, compression
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
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
|