You're absolutely right...and I should have thought of looking into 
leptonica first! Thanks for the reply.

I kind of figured out an answer for my own purposes more or less. I just 
wanted to have something googleable in case other people saw this error and 
were trying to figure it out.

So if you googled your way here, It looks like the answer (from the link, 
and my own testing) is that an image of >10 billion pixels is too big (at 
least on my windows 7/tesseract 3.01 setup).


On Thursday, March 20, 2014 11:33:15 AM UTC-4, zdenop wrote:
>
> Hello,
>
> you do not provide a lot of information ;-)  (OS, compiler, tesseract 
> version, leptonica version full error message...)
>
> Are you able to open/transform image with some simple leptonica program? 
> Tesseract 3.0x uses leptonica for opening and image manipulation. I would 
> suggest you to have a look at leptonica issue 80[1] from comment 7 there 
> are some interesting information and experiences with large image.
>
> [1] https://code.google.com/p/leptonica/issues/detail?id=80#c7
>
> Zdenko
>
>
> On Thu, Mar 20, 2014 at 1:42 AM, Patrick Nichols 
> <[email protected]<javascript:>
> > wrote:
>
>> Through trial and error, it looks like the max size for an image 2500 
>> pixels wide is around 33390 pixels. Which, admittedly, is pretty huge. 
>>
>> If anyone knows of the specific hard-coded limit, or whether the limit is 
>> based on the length or the total number of pixels, that would be fun 
>> information to have!
>>
>>
>> On Wednesday, March 19, 2014 8:23:38 PM UTC-4, Patrick Nichols wrote:
>>>
>>> I was writing some code to concatenate together many small text images 
>>> into one single, large image, before sending to Tesseract, and I just got a 
>>> novel error: "IMAGE TOO LARGE: (2500, 36253)"
>>>
>>> What are the maximum image dimensions supported by tesseract?
>>>
>>  -- 
>> -- 
>> 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/d/optout.
>>
>
>

-- 
-- 
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/d/optout.

Reply via email to