Thursday 7 June 2012

How to convert bmp images to hex string

To print image in telium application,do these things...

1-When you will install telium package ..
2-you get a directary name -Bmp convertor

Ptah: 
\SDK30\TDS 6.2.1\tools\Bmp convertor \ConvertBmp


3-Use this tool to convert your image..
Note: Image size should be proper given in telium manual .

link..
http://devraj-it.blogspot.in/2012/06/how-to-send-http-request.html

5 comments:

  1. you could also use graphapic library (ref libgr.h )API.
    The bmp in either monochrome or 16 bit color.( same as the one used for the tool)
    read the bmp file into a array.

    call SetBmp API to display logo.

    _PrintBmpXY, _PrintBmp, PrintBmp to print logo.
    BMP for print and display has to different ( for display 128*128) would be to samll for printing.

    ReplyDelete
    Replies
    1. ya sure that is an other way to display logo..
      thanks dear

      Delete
    2. Hello. How do you create the bmp file with a good compression? Im always getting a bad compression error from PrintBmp()

      Delete
  2. This comment has been removed by a blog administrator.

    ReplyDelete