Re: Problem with StretchDIBits()
From: Dan Mitchell (djmitchella_at_yahoo.com)
Date: 09/09/04
- Next message: Mike D Sutton: "Re: How to use correctly GetRegionData to find the square area of a polygon"
- Previous message: vipin: "Re: Intervention in glyph lookup?"
- In reply to: vipin: "Re: Problem with StretchDIBits()"
- Next in thread: Marc Reinig: "Re: Problem with StretchDIBits()"
- Reply: Marc Reinig: "Re: Problem with StretchDIBits()"
- Reply: vipin: "Re: Problem with StretchDIBits()"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 09 Sep 2004 09:57:09 -0700
"vipin" <vipin@nospam.com> wrote in
news:#RimrKolEHA.556@tk2msftngp13.phx.gbl:
> Mspaint to my knowlege uses HALFTONE, if I remember properly.
Doesn't look like it here (XPSP2, paint v5.1). This is actually a really
good example, though -- open Paint, draw a scribble with single-pixel-wide
pen. Use rectangle-select tool, copy that to clipboard. Paste it back,
move it to a clear bit of page. Now shrink it horizontally (say), and
you'll see the lines start to vanish in places.
Actually, this isn't strictly StretchBlt(HAlFTONE), they actually
resample the image down to the new size -- if you enlarge it again, you
get the distinctive double-wide lines, and the missing pixels don't
reappear. But the effect on shrinking/enlarging the first time is the same
as it'd be with HALFTONE.
-- dan
- Next message: Mike D Sutton: "Re: How to use correctly GetRegionData to find the square area of a polygon"
- Previous message: vipin: "Re: Intervention in glyph lookup?"
- In reply to: vipin: "Re: Problem with StretchDIBits()"
- Next in thread: Marc Reinig: "Re: Problem with StretchDIBits()"
- Reply: Marc Reinig: "Re: Problem with StretchDIBits()"
- Reply: vipin: "Re: Problem with StretchDIBits()"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|