home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[Poll] Expose present surface object as in Framegrabber as event?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Marvman" data-source="post: 656879" data-attributes="member: 60209"><p>word.</p><p></p><p>I played the whole weekend with gemx's patch in cooperation with IFC. And that drove me nuts at the beginning.</p><p></p><p>I'm wondering if this patch is really the best to grab the frame, I saw that gemx reverted some lines of his patch in his AtmoLight plugin.</p><p></p><p>I use his patch in IFC now, except this lines:</p><p></p><p>[CODE]</p><p>int pitch;</p><p>GraphicsStream stream = rgbSurface.LockRectangle(LockFlags.Discard, out pitch);</p><p>Bitmap b = new Bitmap(rgbSurface.Description.Width,rgbSurface.Description.Height, pitch, System.Drawing.Imaging.PixelFormat.Format32bppArgb, stream.InternalData);[/CODE]</p><p></p><p>I'm still using this:</p><p></p><p>[CODE]GraphicsStream stream = SurfaceLoader.SaveToStream(ImageFileFormat.Bmp, rgbSurface);[/CODE]</p><p></p><p>I read that, the Alpha channel cost much time, so do we need Argb?</p></blockquote><p></p>
[QUOTE="Marvman, post: 656879, member: 60209"] word. I played the whole weekend with gemx's patch in cooperation with IFC. And that drove me nuts at the beginning. I'm wondering if this patch is really the best to grab the frame, I saw that gemx reverted some lines of his patch in his AtmoLight plugin. I use his patch in IFC now, except this lines: [CODE] int pitch; GraphicsStream stream = rgbSurface.LockRectangle(LockFlags.Discard, out pitch); Bitmap b = new Bitmap(rgbSurface.Description.Width,rgbSurface.Description.Height, pitch, System.Drawing.Imaging.PixelFormat.Format32bppArgb, stream.InternalData);[/CODE] I'm still using this: [CODE]GraphicsStream stream = SurfaceLoader.SaveToStream(ImageFileFormat.Bmp, rgbSurface);[/CODE] I read that, the Alpha channel cost much time, so do we need Argb? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
[Poll] Expose present surface object as in Framegrabber as event?
Contact us
RSS
Top
Bottom