Page 1 of 1

How to achieve Skew of a image or a document in which text is written ?

Posted: 2019-05-20T02:35:53-07:00
by shubhra
Hi Fred,

I would like to know the right set of command to achieve skew of an image/document?

Kindly suggest some commands with examples of the image/document?

It would be highly appreciated

Best Regards,
Shubhra

Re: How to achieve Skew of a image or a document in which text is written ?

Posted: 2019-05-20T09:21:09-07:00
by fmw42
I have moved this to the User's forum since it has nothing to do with my scripts.

See Imagemagick -shear at https://imagemagick.org/script/command- ... .php#shear

Re: How to achieve Skew of a image or a document in which text is written ?

Posted: 2019-05-21T01:57:59-07:00
by shubhra
Hi Fred,

Thank you!
I will be more glad if you could give me the exact command and the example image, which has been skewed. Please!

Re: How to achieve Skew of a image or a document in which text is written ?

Posted: 2019-05-21T09:19:37-07:00
by fmw42
The command was in the link and the image is one of the Imagemagick internal images (named logo: with a colon). Just replace logo: with your image.suffix and it should work. Try simply

Code: Select all

convert logo: -background black -shear 20x0 logo-sheared.png