[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ocrad] Question on new rotate option
From: |
Tony Maro |
Subject: |
Re: [Bug-ocrad] Question on new rotate option |
Date: |
Sat, 04 Mar 2006 19:55:36 -0500 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
Antonio Diaz Diaz wrote:
> Tony Maro wrote:
>> I'm using:
>>
>> ocrad --crop 700,960,1640,2200 -t rotate180
>>
>> But I've learned that some of my pages are smaller than others because
>> the scanners automatically size the image according to the paper.
>>
>> Is there a way to reference the coords from the lower right corner? I
>> don't need exactly the quadrant of the page, I'm actually using a bit
>> more than that.
>
> From `ocrad.info':
> `--crop=LEFT,TOP,RIGHT,BOTTOM'
> `-p LEFT,TOP,RIGHT,BOTTOM'
> Crop the input image by the rectangle defined by LEFT, TOP, RIGHT
> and BOTTOM. The values of LEFT, TOP, RIGHT and BOTTOM may be
> relative to the image size (0.0 <= value <= 1.0), or absolute
> (value > 1).
>
>
> And yes, you can mix absolute and relative values.
> For example `ocrad --crop 700,960,1,1 -t rotate180' will work as
> expected.
Ah, great, thanks! I was having trouble deciphering that.
-Tony