From: JD on
Hi Experts,

I have acquired a copy of a very old book that has
been scanned.
Many of the pages are very crooked.

Is there any such thing as a small program that
could align all the pages
automatically?

TIA
From: John Corliss on
JD wrote:
> Hi Experts,
>
> I have acquired a copy of a very old book that has been scanned.
> Many of the pages are very crooked.
>
> Is there any such thing as a small program that could align all the pages
> automatically?

What format is the file in?

--
John Corliss BS206. Because of all the Googlespam, I block all posts
sent through Google Groups. I also block as many posts from anonymous
remailers (for example, usenet4all.se, x-privat.org, dizum.com,
tioat.net, frell.theremailer.net) as possible due to forgeries posted
through them.

No ad, CD, commercial, cripple, demo, nag, share, spy, time-limited,
trial or web wares OR warez for me, please. Adobe Flash sucks, DivX rules.

"First thing we do, we kill all the advertisers..."
From: rich on
On Fri, 02 Jul 2010 20:07:40 -0700, JD wrote:

> Hi Experts,
>
> I have acquired a copy of a very old book that has been scanned.
> Many of the pages are very crooked.
>
> Is there any such thing as a small program that could align all the
> pages
> automatically?
>
> TIA

I hope I am wrong but I don't think there is anything freeware that will
analyse a graphic and decide how much rotation is required to straighten
it.

For one page at a time, most half reasonable image editors have a "align
horizon" function which could be used. I use gimp and this script works
both for horizontals or verticals
http://registry.gimp.org/node/22910

For batch processing Imagemagick will rotate a collection of images an
arbitrary amount, but it is command line. example
convert -rotate -2.65 *.pdf new.jpg
will rotate all the pdf's 2.65 degrees anti-clockwise and write to jpg
files new-1.jpg , new-2.jpg ....

If you need a gui XNviewMP has a batch rotate so probably IrfanView will
have similar.

Again most image editors have some means of determining an angle and it
would be up to you to decide on what value to use.


--
rich
From: JD on
rich wrote:
> On Fri, 02 Jul 2010 20:07:40 -0700, JD wrote:
>
>> Hi Experts,
>>
>> I have acquired a copy of a very old book that has been scanned.
>> Many of the pages are very crooked.
>>
>> Is there any such thing as a small program that could align all the
>> pages
>> automatically?
>>
>> TIA
>
> I hope I am wrong but I don't think there is anything freeware that will
> analyse a graphic and decide how much rotation is required to straighten
> it.
>
> For one page at a time, most half reasonable image editors have a "align
> horizon" function which could be used. I use gimp and this script works
> both for horizontals or verticals
> http://registry.gimp.org/node/22910
>
> For batch processing Imagemagick will rotate a collection of images an
> arbitrary amount, but it is command line. example
> convert -rotate -2.65 *.pdf new.jpg
> will rotate all the pdf's 2.65 degrees anti-clockwise and write to jpg
> files new-1.jpg , new-2.jpg ....
>
> If you need a gui XNviewMP has a batch rotate so probably IrfanView will
> have similar.
>
> Again most image editors have some means of determining an angle and it
> would be up to you to decide on what value to use.
>
>
Thanks John and Rich for your replies.

The format of the file is html.
From: rich on
On Sat, 03 Jul 2010 08:42:27 -0700, JD wrote:

> rich wrote:
>> On Fri, 02 Jul 2010 20:07:40 -0700, JD wrote:
>>
>>> Hi Experts,
>>>
>>> I have acquired a copy of a very old book that has been scanned. Many
>>> of the pages are very crooked.
>>>
>>> Is there any such thing as a small program that could align all the
>>> pages
>>> automatically?
>>>
>>> TIA
>>
>> I hope I am wrong but I don't think there is anything freeware that
>> will analyse a graphic and decide how much rotation is required to
>> straighten it.
>>
>> For one page at a time, most half reasonable image editors have a
>> "align horizon" function which could be used. I use gimp and this
>> script works both for horizontals or verticals
>> http://registry.gimp.org/node/22910
>>
>> For batch processing Imagemagick will rotate a collection of images an
>> arbitrary amount, but it is command line. example
>> convert -rotate -2.65 *.pdf new.jpg
>> will rotate all the pdf's 2.65 degrees anti-clockwise and write to jpg
>> files new-1.jpg , new-2.jpg ....
>>
>> If you need a gui XNviewMP has a batch rotate so probably IrfanView
>> will have similar.
>>
>> Again most image editors have some means of determining an angle and it
>> would be up to you to decide on what value to use.
>>
>>
> Thanks John and Rich for your replies.
>
> The format of the file is html.

ouch

html is not in itself an image format but will contains link to images.

so... have a look at this ???.html file(s). Is it a local file and does
it have any sub-folders which might contain images that you can process?

or

Does it link to a web site where the images are stored?

More info required.

--
rich