|
-
Nov 23rd, 2000, 08:51 AM
#1
Thread Starter
PowerPoster
Is there an alternate API to StrechBlt? It seems to distort the colors on compressing the image.
-
Nov 23rd, 2000, 03:32 PM
#2
You can try VB's PaintPicture method.
-
Nov 23rd, 2000, 04:30 PM
#3
Hyperactive Member
yeah but doesnt paintpicture call stretchtblt behind the scenes?
buzzwords are the language of fools
-
Nov 24th, 2000, 03:34 AM
#4
Thread Starter
PowerPoster
Surprisingly, PaintPicture does a much better job than StrecthBlt.
-
Nov 24th, 2000, 01:51 PM
#5
Hyperactive Member
yeah but its slow n horrible
buzzwords are the language of fools
-
Nov 24th, 2000, 02:04 PM
#6
Fanatic Member
You can use the SetStretchBltMode API for smooth shrinking (DELETE_SCANS) or enlarging (HALFTONE).
-
Nov 25th, 2000, 10:46 AM
#7
Kenny: Awhile ago, Kedaman did some tests on this and PaintPicture proved to be faster.
NOTE: StretchBlt draws on DC's, whereas PaintPicture draws on StdPicture objects.
-
Nov 25th, 2000, 12:16 PM
#8
Hyperactive Member
ok i withdraw whatever i said 
buzzwords are the language of fools
-
Nov 25th, 2000, 08:30 PM
#9
Well, actually, I think StretchBlt is faster for drawing an image without any modification (in which case, you'd use BitBlt).
-
Nov 26th, 2000, 06:48 AM
#10
Hyperactive Member
yeah, cos bitblt is just a straight memcopy if you use srccopy as the op.
buzzwords are the language of fools
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
|