Re: What does turning alpha on and then off again do?
Posted: 2013-09-24T16:32:55-07:00
Upthread, I said I reported the OP situation as a bug. But I was wrong; it isn't.
The reason "-alpha off" makes a slightly different resize, even for images that are fully opaque, is that IM uses a different default filter. I suggest that if you prefer the result from "-alpha off", you remove that (and the "-alpha on") and instead use an explicit "-filter":
The reason "-alpha off" makes a slightly different resize, even for images that are fully opaque, is that IM uses a different default filter. I suggest that if you prefer the result from "-alpha off", you remove that (and the "-alpha on") and instead use an explicit "-filter":
Code: Select all
convert.exe input.tga -filter Lanczos -resize 128x128! output.tga