|
-
June 16th, 2001, 03:37 PM
#1
Shrinking Pictures
Is there a way to shrink pictures? Stretchblt will expand them but how do you do the opposite? If I try to pass a target Picturebox to Stretchblt that is smaller than the source, it gives RC = 0.
Thanks in advance
John G
-
June 16th, 2001, 07:25 PM
#2
Re: Shrinking Pictures
StretchBlt does shrink images. You must have made some mistake. The destination height and width, the scalemode etc are the parameters to check.
PaintPicture does it too, but it is quite slow. Nevertheless, ou can use paintpicture to make the parameters work, and then port them to StretchBlt.
-
June 17th, 2001, 02:34 PM
#3
Re: Shrinking Pictures
Shree. Thanks for your reply. Believe it or not, while twiddling my thumbs, I decided to search Codeguru forum for some suggestions and got a hit for a post I REPLIED to a couple of weeks ago. My reply was the solution to my current problem. I guess Senility is creeping in. I even posted a complete working sample in my reply.
John G
-
June 17th, 2001, 06:36 PM
#4
Re: Shrinking Pictures
i guess you know more than you think
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address
-
June 18th, 2001, 03:42 AM
#5
Re: the url...
I was looking for it, but I was unable to find your post. May you provide the url?
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
June 18th, 2001, 10:00 AM
#6
Re: the url...
Here it is. It doesn't specificaly address shrinling a picture, but it does do the job.
http://63.236.73.79/cgi-bin/bbs/wt/s...age=0&Limit=25
John G
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
|