Thanks a lot! I am on linux! Em quinta-feira, 4 de abril de 2013 04h05min04s UTC-3, zdenop escreveu: > > If you are no linux you can create PIX with pixReadMem. > If you are on Mac, Windows you will face problem (e.g. tif will works, > other formats like jpeg or png not). > > See leptonica issue 77[1] for more details. There is also test > case/example file[2] where I used std::vector<char> to create PIX. > > [1] https://code.google.com/p/leptonica/issues/detail?id=77 > [2] > https://code.google.com/p/leptonica/issues/attachmentText?id=77&aid=770000000&name=stdin2pix.cpp&token=NOhCOWre-C6cJ_TOSoMio-Y5im0%3A1365058781271 > > Zdenko > > > On Wed, Apr 3, 2013 at 8:10 PM, Renato Forti <[email protected]<javascript:> > > wrote: > >> Hi all, >> >> I have an Image that I received form socket! This image is a JPG and is >> on a std::vector<char>! >> How I can load it on Pix (like pixRead()) to send to api.SetImage(pix); >> >> Thaks >> >> -- >> -- >> 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]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/tesseract-ocr?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "tesseract-ocr" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > >
-- -- 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 --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

