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
How to achieve Skew of a image or a document in which text is written ?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to achieve Skew of a image or a document in which text is written ?
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
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 ?
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!
Thank you!
I will be more glad if you could give me the exact command and the example image, which has been skewed. Please!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: How to achieve Skew of a image or a document in which text is written ?
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