#31 Output does not look as expected - Input Problem?

open
nobody
None
5
2011-08-22
2011-08-22
Eva Kiszka
No

When execute EasyBMP with my file below as an input, I only get a black square. However, I would expect something else... Is my input incorrect? Or did I use your exe file in an incorrect way? Help is much appreciated by a fellow bioinformatician. :)

Discussion

  • Eva Kiszka
    Eva Kiszka
    2011-08-22

    Input File with Tab Separated Values

     
    Attachments
  • Charles Ruhs
    Charles Ruhs
    2012-07-24

    Eva,

    I ran into a similar problem. What I found is that EasyBMP turns everything into a 24 bpp. I had to parse my data checking for 0 or 1 (I had 1 bpp data) and assigning the red, blue, and green of each pixel to 0,0,0 or 255,255,255 respectively to get this to work.

    EasyBMP then converts it to a 1bpp bitmap when it writes out the file. If your's is bigger than 1 bpp, you may need to do something similar.

    Hope that helps,

    Charlie