Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.hp.hardware > #346 > unrolled thread

Scanned PDF is always crooked (need to rotate PDF a degree or three)

Started byFran Jones <FranJones@is.invalid>
First post2013-10-08 22:45 +0000
Last post2014-02-15 15:30 -0500
Articles 12 — 9 participants

Back to article view | Back to comp.sys.hp.hardware


Contents

  Scanned PDF is always crooked (need to rotate PDF a degree or three) Fran Jones <FranJones@is.invalid> - 2013-10-08 22:45 +0000
    Re: Scanned PDF is always crooked (need to rotate PDF a degree or  three) Robert Heller <heller@deepsoft.com> - 2013-10-08 19:45 -0500
      Re: Scanned PDF is always crooked (need to rotate PDF a degree or  three) sandy <sandy@is.invalid> - 2013-10-09 18:58 +0000
        Re: Scanned PDF is always crooked (need to rotate PDF a degree or  three) Joe Beanfish <joebeanfish@nospam.duh> - 2013-10-11 13:07 +0000
          Re: Scanned PDF is always crooked (need to rotate PDF a degree or three) Axel Berger <Axel.Berger@Gmx.De> - 2013-10-11 22:00 +0200
            Re: Scanned PDF is always crooked (need to rotate PDF a degree or three) Joe Beanfish <joebeanfish@nospam.duh> - 2013-10-14 13:20 +0000
              Re: Scanned PDF is always crooked (need to rotate PDF a degree orthree) Axel Berger <Axel.Berger@Gmx.De> - 2013-10-14 18:45 +0200
    Re: Scanned PDF is always crooked (need to rotate PDF a degree or   three) Peter Flynn <peter@silmaril.ie> - 2013-10-10 21:25 +0100
    Re: Scanned PDF is always crooked (need to rotate PDF a degree or three) occam <occam@127.0.0.1> - 2013-10-11 08:05 +0200
    Re: Scanned PDF is always crooked (need to rotate PDF a degree or three) yufan <steven1831@yahoo.com> - 2013-10-11 12:02 +0800
    Re: Scanned PDF is always crooked (need to rotate PDF a degree or three) yufan <steven1831@yahoo.com> - 2013-10-11 11:56 +0800
    Re: Scanned PDF is always crooked (need to rotate PDF a degree or three) tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2014-02-15 15:30 -0500

#346 — Scanned PDF is always crooked (need to rotate PDF a degree or three)

FromFran Jones <FranJones@is.invalid>
Date2013-10-08 22:45 +0000
SubjectScanned PDF is always crooked (need to rotate PDF a degree or three)
Message-ID<l321uf$fn7$1@news.mixmin.net>
My HP Laserjet 3200m printer/scanner often scans pages off kilter.
It's noticeable, but slight (maybe a couple of degrees).

If it were a JPEG, I could use The Gimp freeware to straighten
but it's a PDF. If I must, I could scan to JPEG and then use
cutePDF freeware or Adobe Acrobat 6.0 Standard payware to then
print the straightened JPG to PDF - but that seems convoluted.

Is there freeware that will rotate a PDF page by just a degree
or three (just like The Gimp rotates an image)?

[toc] | [next] | [standalone]


#347 — Re: Scanned PDF is always crooked (need to rotate PDF a degree or three)

FromRobert Heller <heller@deepsoft.com>
Date2013-10-08 19:45 -0500
SubjectRe: Scanned PDF is always crooked (need to rotate PDF a degree or three)
Message-ID<GuednaY5dr2HOsnPnZ2dnUVZ_judnZ2d@giganews.com>
In reply to#346
At Tue, 8 Oct 2013 22:45:36 +0000 (UTC) Fran Jones <FranJones@is.invalid> wrote:

> 
> My HP Laserjet 3200m printer/scanner often scans pages off kilter.
> It's noticeable, but slight (maybe a couple of degrees).
> 
> If it were a JPEG, I could use The Gimp freeware to straighten
> but it's a PDF. If I must, I could scan to JPEG and then use
> cutePDF freeware or Adobe Acrobat 6.0 Standard payware to then
> print the straightened JPG to PDF - but that seems convoluted.

Not when you consider that the PDF is probably just a wrapper around a jpeg 
image. 

> 
> Is there freeware that will rotate a PDF page by just a degree
> or three (just like The Gimp rotates an image)?
> 
>        

-- 
Robert Heller             -- 978-544-6933 / heller@deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


      

[toc] | [prev] | [next] | [standalone]


#348 — Re: Scanned PDF is always crooked (need to rotate PDF a degree or three)

Fromsandy <sandy@is.invalid>
Date2013-10-09 18:58 +0000
SubjectRe: Scanned PDF is always crooked (need to rotate PDF a degree or three)
Message-ID<l34918$rst$4@speranza.aioe.org>
In reply to#347
On Tue, 08 Oct 2013 19:45:14 -0500, Robert Heller wrote:

> Not when you consider that the PDF is probably just a 
> wrapper around a jpeg image.

If you can rotate 180 degrees, why not 1 degree?

[toc] | [prev] | [next] | [standalone]


#351 — Re: Scanned PDF is always crooked (need to rotate PDF a degree or three)

FromJoe Beanfish <joebeanfish@nospam.duh>
Date2013-10-11 13:07 +0000
SubjectRe: Scanned PDF is always crooked (need to rotate PDF a degree or three)
Message-ID<l38t5v$uua$1@dont-email.me>
In reply to#348
On Wed, 09 Oct 2013 18:58:48 +0000, sandy wrote:

> On Tue, 08 Oct 2013 19:45:14 -0500, Robert Heller wrote:
> 
>> Not when you consider that the PDF is probably just a 
>> wrapper around a jpeg image.
> 
> If you can rotate 180 degrees, why not 1 degree?

Increments of 90 degrees are programmatically trivial. Other increments
are more difficult and require math. So the answer is probably laziness.

[toc] | [prev] | [next] | [standalone]


#352

FromAxel Berger <Axel.Berger@Gmx.De>
Date2013-10-11 22:00 +0200
Message-ID<525858C7.2EF32B@Gmx.De>
In reply to#351
Joe Beanfish wrote:
> So the answer is probably laziness.

Not in this case. An embedded image is a rectangle with height and width
and that doesn't change with rotations through right angles. Any other
angle creates crooked shapes that are much harder to deal with.

[toc] | [prev] | [next] | [standalone]


#355

FromJoe Beanfish <joebeanfish@nospam.duh>
Date2013-10-14 13:20 +0000
Message-ID<l3gr2n$tbp$1@dont-email.me>
In reply to#352
On Fri, 11 Oct 2013 22:00:07 +0200, Axel Berger wrote:
> Joe Beanfish wrote:
> > > If you can rotate 180 degrees, why not 1 degree?
> >
> > Increments of 90 degrees are programmatically trivial. Other increments
> > are more difficult and require math. So the answer is probably laziness.
> 
> Not in this case. An embedded image is a rectangle with height and width
> and that doesn't change with rotations through right angles. Any other
> angle creates crooked shapes that are much harder to deal with.

So, in your first sentence you disagree with me. Then in the remainder
you reiterate and elaborate on my point. Make up your mind.

Part of the non-90 degree rotation process is to effectively trim and fill
keeping the whole a rectangle.

[toc] | [prev] | [next] | [standalone]


#356 — Re: Scanned PDF is always crooked (need to rotate PDF a degree orthree)

FromAxel Berger <Axel.Berger@Gmx.De>
Date2013-10-14 18:45 +0200
SubjectRe: Scanned PDF is always crooked (need to rotate PDF a degree orthree)
Message-ID<525C1F9E.BDD7D640@Gmx.De>
In reply to#355
Joe Beanfish wrote:
> Part of the non-90 degree rotation process is to effectively
> trim and fill keeping the whole a rectangle.

Exactly. A task like that is far into the realm of a graphics package
and strictly out of the task a something, whose whole job is to take an
image and embed it.

Axel

[toc] | [prev] | [next] | [standalone]


#349 — Re: Scanned PDF is always crooked (need to rotate PDF a degree or three)

FromPeter Flynn <peter@silmaril.ie>
Date2013-10-10 21:25 +0100
SubjectRe: Scanned PDF is always crooked (need to rotate PDF a degree or three)
Message-ID<bbogqkF2bh9U1@mid.individual.net>
In reply to#346
On 10/08/2013 11:45 PM, Fran Jones wrote:
> My HP Laserjet 3200m printer/scanner often scans pages off kilter.
> It's noticeable, but slight (maybe a couple of degrees).
> 
> If it were a JPEG, I could use The Gimp freeware to straighten
> but it's a PDF. If I must, I could scan to JPEG and then use
> cutePDF freeware or Adobe Acrobat 6.0 Standard payware to then
> print the straightened JPG to PDF - but that seems convoluted.
> 
> Is there freeware that will rotate a PDF page by just a degree
> or three (just like The Gimp rotates an image)?

The PDF is just an enclosure. The image is inside it. What you need to
do is extract the image, rotate it, and recreate the PDF, eg

$ pdfimages -j scanfile.pdf scan
$ convert scan-001.jpg -rotate 2 scanfile.pdf

pdfimages is part of the Poppler Utilities; the -j forces JPG output;
the third argument is a base-name for the extracted image (images lose
their names when you embed them in a PDF, so they need naming when they
are extracted). The first (or only) file will use this base-name plus a
hyphen and a serial number starting at 1, plus the extension.
convert is the ImageMagick conversion program.

///Peter


[toc] | [prev] | [next] | [standalone]


#350

Fromoccam <occam@127.0.0.1>
Date2013-10-11 08:05 +0200
Message-ID<l384fr$a0a$1@dont-email.me>
In reply to#346
On 09/10/2013 00:45, Fran Jones wrote:
> My HP Laserjet 3200m printer/scanner often scans pages off kilter.
> It's noticeable, but slight (maybe a couple of degrees).
> 
> If it were a JPEG, I could use The Gimp freeware to straighten
> but it's a PDF. If I must, I could scan to JPEG and then use
> cutePDF freeware or Adobe Acrobat 6.0 Standard payware to then
> print the straightened JPG to PDF - but that seems convoluted.
> 
> Is there freeware that will rotate a PDF page by just a degree
> or three (just like The Gimp rotates an image)?
> 

I do not use 3200, but a different HP product (3-in-one). After a scan,
one of the options I am offered (apart from rotate 90% left, right) is
'Skewscan'. This corrects (automatically) the issue you are describing.
Are you sure you do not have a similar post-scan option?

[toc] | [prev] | [next] | [standalone]


#353

Fromyufan <steven1831@yahoo.com>
Date2013-10-11 12:02 +0800
Message-ID<87d2ncjvzv.fsf@chengcb-nb.com>
In reply to#346
Perhaps Foxit Reader may fit your needs. It provides PDF creation / PDF
conversion. Most important----it is free.
-- 
yufan
steven18@yahoo.com

[toc] | [prev] | [next] | [standalone]


#354

Fromyufan <steven1831@yahoo.com>
Date2013-10-11 11:56 +0800
Message-ID<87hacojw9z.fsf@chengcb-nb.com>
In reply to#346
Why not have a try with Foxit PDF Reader. It's more fast and safe.
-- 
yufan
steven18@yahoo.com

[toc] | [prev] | [next] | [standalone]


#367

Fromtlvp <mPiOsUcB.EtLlLvEp@att.net>
Date2014-02-15 15:30 -0500
Message-ID<1gsde5lh5x91t$.abp44ghinhwi.dlg@40tude.net>
In reply to#346
On Tue, 8 Oct 2013 22:45:36 +0000 (UTC), Fran Jones wrote:

> My HP Laserjet 3200m printer/scanner often scans pages off kilter.
> It's noticeable, but slight (maybe a couple of degrees).
> 
> If it were a JPEG, I could use The Gimp freeware to straighten
> but it's a PDF. If I must, I could scan to JPEG and then use
> cutePDF freeware or Adobe Acrobat 6.0 Standard payware to then
> print the straightened JPG to PDF - but that seems convoluted.
> 
> Is there freeware that will rotate a PDF page by just a degree
> or three (just like The Gimp rotates an image)?

You'd be better off feeding your printer/scanner the document again, trying
to minimize the page-skew of its document feeder :-) . HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.hp.hardware


csiph-web