Would it be feasible/easy to allow me to choose when NOT to use anti-aliasing?
Particularly, I would like to make a SHEAR operation on an image, *without* anti-aliasing. It seems the source code that says to be based on a paper, did not follow the paper that had an if test allowing the user to choose whether not to use anti-aliasing.
I am trying to work with B&W images that get terribly damaged when sheared with anti-aliasing (the default mode of IM).
I need to shear the image that will be "de-sheared" by another processing step, but the current IM shear process add lots of middle tones in the processing step, that ruin the next processing step in my use case.
Thanks
Lissandro
Anti-aliasing
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Anti-aliasing
What version of IM and what platform? What was your exact command?
try
or
try
Code: Select all
convert image -filter point -shear ... result
Code: Select all
convert image -interpolate nearestneighbor -shear ... result