.Net Image.Save default format PDF Print E-mail
Written by Daniel P   
Thursday, 11 May 2006

I have been grabbing frames from a video file and saved them using .Net Image.Save(filename). Then what I tried to use the DirectShow GraphEdit utility to render the picture as a media file, it fails to load. Now, GraphEdit is not the most robust application. So I tried to use Media Player Classic and it also fails to load it.

I opened the file in a binary editor to find out that it was saved as a PNG file. Even if you name the file, for example "frame0001.bmp", it will be saved as a PNG. I thought that MS would decide to default to the "goodold" bmp format but it's not the case. I waisted the better part of an afternoon to track down this mysterious behaviour. So I thought I should put a note about this. 




Bookmark it...
Digg!Reddit!Del.icio.us!Google!Facebook!Slashdot!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!
 
Some Python magic PDF Print E-mail
Written by Daniel P   
Sunday, 30 April 2006
I have just given a try to DirectPython, which is in a very early stage of development. It is a Python extension to DirectX. The samples are especially noteworthy; many "fully functional" DirectX samples in less than 200 lines of Python!



Bookmark it...
Digg!Reddit!Del.icio.us!Google!Facebook!Slashdot!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!
 
<< Start < Prev 11 12 13 14 15 16 17 18 19 20 Next > End >>

Results 41 - 44 of 81
Joomla Template by Joomlashack
Joomla Templates by JoomlaShack Joomla Templates by Compass Design