The C/C++ API functions assume raw data with no header. The header information goes in the other function parameters.This does not necessarily apply to the add-on interfaces for Jva, C# etc. Ray.
On Mon, Feb 9, 2009 at 7:05 AM, Albert Law <[email protected]> wrote: > > Hi, > > I give it the header data and that seems to work well. I have never tried > to give it just the data. If you really need to do just > the data, then I can see if that works for me (assuming it doesn't work for > you). > > - > Albert > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of JamesBaker > Sent: Saturday, February 07, 2009 11:19 > To: tesseract-ocr > Subject: Image format > > > I am going to just AND bitmask my 32bit bmp and store the averages of > RGB int a new buffer that will be 8bpp. My *only* question is: does > tessdll.h's functions, which take an unsigned char*, do they need just > the bitmap data, or the bitmap header(http://en.wikipedia.org/wiki/ > BMP_file_format#DIBs_in_memory) + data? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en -~----------~----~----~----~------~----~------~--~---

