how to rotate image files of GENERIC angles?

Volker Wysk post at volker-wysk.de
Sat Nov 19 14:56:52 UTC 2022


Am Samstag, dem 19.11.2022 um 14:34 +0000 schrieb Marco Fioretti:
> Hello all,
> 
> I am scanning lots of A4 sheets with 6/7 small photographs glued on each
> side. The problem is that most of those photographs, were deliberately NOT
> glued parallel to the sheet edges, and often each at a different angle
> 
> So to get images that display well on screen I should crop every image,
> ROTATE it so that the bottom side is "horizontal", and then crop it again.
> 
> The problem is the rotation. I Have searched before posting, but only
> found tools like jpegtran that only rotate of multiple of 90 degrees.
> 
> What I would need, instead, is any Linux-compatible tool to which I can
> say "rotate this file N degrees", for every N integer between (at least) 0
> and 90.
> 
> Suggestions? CLI or GUI is the same, albeit I'd prefer a command line
> solution.

The "convert" program can do this, with the "-rotate" parameter. It's in the
"imagemagick" package.

Cheers,
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20221119/ac6a8029/attachment.sig>


More information about the ubuntu-users mailing list