Re: a newbie needed help on DIB and DirectShow
- From: Iain <Iain@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 19 Aug 2005 10:13:31 +0100
On Thu, 18 Aug 2005 17:46:04 -0700, TL wrote:
> Hi Jeremy,
>
> Thanks for your response. BTW, would you mind give me more details for how
> to use GDI+ to render a video from DIB. For instance, what keywords I can
> use to search MSDN communities to find some related threads? Previously I
> was not a Win App developer and so I didn't have much knowledge on GDI+.
> Thanks again.
Let's position this.
If you want to produce moving video on the screen then DirectShow is the
way to go. If you have a source of bitmaps that you want to display in
sequence (like a cartoon) then see the push source samples. This will
allow you to build a graph showing Device Independant Bitmaps (DIBs!) fery
easily (well, for DirectShow!).
If you have a bitmap (DIB) in a file that you simply want to show on the
screen once (like the background of a form, for example), then the easiest
way is to use an ActiveX control to do it! VB and DOTNET have quite a few.
If you have some need to do it via a low level language then you need to
look up things like Device Contexts DIB StretchDIBits and stuff like that
IIRC the SDK Docs section on bitmaps provides the information with no more
than the usual obscurity!
Iain
--
Iain Downs (DirectShow MVP)
Commercial Software Therapist
www.idcl.co.uk
.
- References:
- a newbie needed help on DIB and DirectShow
- From: TL
- Re: a newbie needed help on DIB and DirectShow
- From: Jeremy Noring
- Re: a newbie needed help on DIB and DirectShow
- From: TL
- a newbie needed help on DIB and DirectShow
- Prev by Date: Re: hr = E_INVALIDARG
- Next by Date: Directshow BaseClasses from PSDK 2003 sp1
- Previous by thread: Re: a newbie needed help on DIB and DirectShow
- Next by thread: unknown software exception with SampleGrabber
- Index(es):
Relevant Pages
|