Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Using: ImageMagick-6.9.10-11-Q16-x64-dll.exe, windows 10-1803
Using multiple command's I haven't been able to keep the trim command from trimming the bottom yellow bar (a "hard" trim on absolute white suffices for my use case).
Thanks, didn't get the part about it using the bottom two corner pixels, is there a way to make it look at other pixels/a forced color? (simply adding a border with a chosen color works for now)
Last edited by GieltjE on 2018-09-07T06:32:59-07:00, edited 1 time in total.
Another way to describe the action is: if any of the four edges contain the same colour, those edges will be removed. If an image has rows of white pixels at the top edge and yellow at the bottom edge, the top will be trimmed down to the first non-white and the bottom will be trimmed up to the first non-yellow.
If you want to ensure that only white pixels are removed, add a white border first.