RE: Problem trying to get a Bmp screenshot
- From: v-terryf@xxxxxxxxxxxxxxxxxxxx ("TerryFei")
- Date: Thu, 24 Nov 2005 07:38:49 GMT
Hi Cristian,
Thanks for your quick response!
>>Could you check for some known issues?
Based on disassembler code of Bitmap ctor using Reflector tool, an
exception will be thrown with "Invalid parameter" message when the stream
is null. But currently I did't find any other known issues.
>>Do there is a way to automatically generate an avi with managed directx?
Actually I'm >>gtting every bitmap and then I'm building the avi my own....
If we want to build our own avi with pictures, we could use AVIFile
functions to achieve this task. You could refer to the following articles,
Title: Create a movie from an HBitmap
URL: http://www.codeproject.com/bitmap/createmovie.asp
Title: A Simple C# Wrapper for the AviFile Library
URL: http://www.codeproject.com/cs/media/aviFileWrapper.asp
Title: Steganography IV - Reading and Writing AVI files
URL: http://www.codeproject.com/csharp/steganodotnet4.asp
I hope the above information is useful for you. If there is any question,
please don't hesitate to let me know. I will be happy to be of further
assistance. Thanks again and have a nice day!
Best Regards,
Terry Fei [MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- References:
- RE: Problem trying to get a Bmp screenshot
- From: "TerryFei"
- RE: Problem trying to get a Bmp screenshot
- Prev by Date: Re: Getting Adapter Info
- Next by Date: Re: Must DX device be created around a Control?
- Previous by thread: RE: Problem trying to get a Bmp screenshot
- Next by thread: RE: Creating a vertexbuffer without typeVertexType
- Index(es):