freeimage qrcode

Help
2011-10-19
2013-02-02
  • Nobody/Anonymous

    Hellow,

    When I use the freeimage to convert the image to 8bits and use with zbar, works for barcode, but does not work for qrcode, any ideia?

    Thats an example of code that im using:

    grayBitmap = FreeImage_ConvertTo8Bits(dib);
    width  = FreeImage_GetPitch(grayBitmap);
    height = FreeImage_GetHeight(grayBitmap);
    raw    = FreeImage_GetBits(grayBitmap);

    this code works perfectly for barcode scan, but not for qrcode

    thanks

     
  • Nobody/Anonymous

    ok… so if you have the same problem… you need to invert the hbitmap :)

     
  • Anonymous

    Anonymous - 2012-01-10

    you need to invert the hbitmap

    How I do that? Example pleaseeeeeee.
    Thanks in advance for any help.

     

Log in to post a comment.