Why are you using a Bitmap I thought tess only works with tiffs?

----- Original Message -----
From: Jessica <[email protected]>
Date: Wednesday, February 4, 2009 4:22
Subject: From bitmap to unsigned char *
To: tesseract-ocr <[email protected]>

> 
> Hi,
> 
> I have a big problem.
> I want to ocr screenshots.
> 
> I am under windows vista, using c++, gdi+
> 
> I have a Gdiplus::Bitmap, I need to convert it to an unsigned 
> char *
> to put it in TessDLLAPI (I'm using tessdll.dll)
> 
> I used the function LockBits to get a BitmapData and then scan0 
> to get
> an unsigned char *
> But this does not work!
> 
> I don't know how to format it.
> Could someone help me please?
> 
> Thank you!
> > 
> 

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to