Jump to content
  • Advertisement

David Lake

Member
  • Content Count

    55
  • Joined

  • Last visited

Community Reputation

117 Neutral

About David Lake

  • Rank
    Member
  1. David Lake

    Display jpeg on a form with SharpDX

    WHY DOES THIS ALWAYS HAPPEN TO ME?!
  2. David Lake

    Display jpeg on a form with SharpDX

    I'm trying my best please help!
  3. David Lake

    Display jpeg on a form with SharpDX

    Preloading the images and storing them in memory as bitmaps wont be practical not only because there will be too many but also due to the way I want to be able to play back the time lapse.   What do I need to start drawing with D2D to a RenderControl, what do I need to instance?
  4. David Lake

    Display jpeg on a form with SharpDX

    Since nobody wants to offer some free help I will offer a £10 reward to whoever can help because I'm really stuck on this 1.
  5. David Lake

    Display jpeg on a form with SharpDX

    The answer to this question is the closest thing I could find: http://stackoverflow.com/questions/25820817/how-to-display-a-bitmap-in-sharpdx   But how do I use it, what else is needed like device context etc, why is the method an override, how do I load an image on every frame and dispose it on the next?
  6. David Lake

    Display jpeg on a form with SharpDX

    I googled the hell out of this one but all I can find is incomplete and irrelevant bits and bobs that confuse the hell out of me.
  7. David Lake

    Display jpeg on a form with SharpDX

    If you know why I'm not getting any replies please tell me.
  8. Hi all, would anybody kindly show me how to use SharpDX to display a jpeg on a form with the least amount of code please? Its for my time lapse player program and I'm trying to improve performance over GDI+, I'm very good with C# and less so with C++ but DX is so confuzling.
  9. David Lake

    Display screen remotely

    Coming back to this thread theres a problem or 2 I still need sorted, the Capture method doesn't capture everything on screen for example when I hover over a program on the windows 7 taskbar the window list is not captured.
  10. David Lake

    Display screen remotely

    A slight correction to your drawcursor method: DrawIconEx(hDC, CursorPos.x-10, CursorPos.y-10, CursorInfo.hCursor, CursorWidth, CursorHeight, 0, NULL, DI_NORMAL);   The cursor "hotspot" is in the center of the cursor image not the top left so you have to compensate.
  11. David Lake

    Display screen remotely

    The image is flipped vertically but not horizontally?   Fixed it with lpbi->bmiHeader.biHeight=-h;
  12. David Lake

    Display screen remotely

    For the XOR process I copy the last frame buffer into a temporary buffer then copy the current frame to the last frame buffer and use the temporary buffer with the current for doing the XOR, but that requires 2 relatively slow array copies, can you think of a more efficient way of doing this?
  13. David Lake

    Display screen remotely

    Thanks I was just making sure because with my limited C++ experience the bitmap info thing made it look like a bitmap object was being created, but now I can see it looks like the raw image is being extracted from a bitmap.   Extra line added.
  14. David Lake

    Display screen remotely

    Just the pixels and nothing else?
  15. David Lake

    Display screen remotely

    Yipeee thats what I needed! The additional dependencies was blank so I set it to inherit from parent or project defaults.   Does it create a bitmap object or just the raw image in a byte array because I think the latter would be more efficient.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!