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

Search:

Type: Posts; User: timini

Search: Search took 0.02 seconds.

  1. Replies
    14
    Views
    19,916

    Re: How To Convert Binary Image To BMP

    I wrote a C++ program where the main reads several binary-image input files and process them. The output is an array of binary data. I want to store this data in a bitmap grayscale file and display...
  2. Replies
    14
    Views
    19,916

    Re: How To Convert Binary Image To BMP

    Hi VictorN,

    I created a GUI project via MFC. I was able to draw my data on a window. But my old (main) program has lots of signal processing code. Therefore, I cannot abandon it. Do I have to...
  3. Replies
    14
    Views
    19,916

    Re: How To Convert Binary Image To BMP

    Hi Paul,

    I believe you pointed me to the right direction. However, I still have a problem to call the function DrawGrayScale from the "main" because I don't know what CDC and HANDLE are.
    ...
  4. Replies
    14
    Views
    19,916

    Re: How To Convert Binary Image To BMP

    I modified the existing code to convert my binary grayscale image. I was abled to create a BMP file. However, the color code is not correct. I believe that I did not set the color table. If anyone...
  5. Replies
    14
    Views
    19,916

    Re: How To Convert Binary Image To BMP

    Hi Paul,

    The image data is in 8 bit binary in a file with the extension .bin

    I installed a program called IrfanView that can be used to view images. However, IrfanView does not support .bin...
  6. Replies
    14
    Views
    19,916

    How To Convert Binary Image To BMP

    To C++ fans,

    My program generates a grayscale image in binary format. I want to convert it to bitmap format (BMP) so that I can view it but I don't know how to do the conversion.

    Please help.
    ...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured