CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Peeter

Search: Search took 0.07 seconds.

  1. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    Okay, but is there any easier way to convert and save the bitmap from windows api clipboard functions to a png image file?


    Or is there a way to just save it into a BMP (or convert?) without a...
  2. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    That doesn't work, as it will throw up even more errors after that.
  3. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    Is it possible to use these files with Dev-C++ or do I have to get Visual Studio?
  4. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    The problem is that I don't know that where it is. Couldln't find anything useful from the documentation either.
  5. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    So how do I know what library files I have to link to?
  6. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    Documentation says they are in CxImage class and it tells me to include ximage.h
  7. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    Now I included "ximage.h" and it gave me a bunch of linker errors:

    [Linker error] undefined reference to `CxImage::CxImage(unsigned long)'
    [Linker error] undefined reference to...
  8. Replies
    19
    Views
    8,431

    Re: Saving a image file - using 'cximage' library

    Yeah, but what files do I need to include and that stuff?
  9. Replies
    19
    Views
    8,431

    Saving a image file - using 'cximage' library

    So I'm getting a image from the clipboard as a bitmap with windows API functions and I want to save it as a PNG file.

    Someone recommended using a library.
    I downloaded cximage library. If you...
  10. Re: Getting image from the clipboard and then saving it into a image file.

    A n00b needs more help here:


    #include <windows.h>


    int main()
    {
    OpenClipboard(NULL);
    GetClipboardData(CF_BITMAP);
  11. Getting image from the clipboard and then saving it into a image file.

    How to Get an image from the clipboard and then save it into a image file?
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured