Trim too agressive
Posted: 2018-09-07T05:26:47-07:00
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).
Unfruitful attempts:
Workaround (not really a neat solution in my opinion)
Input:
Result (expecting nothing to have changed as it was properly trimmed to begin with):
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).
Unfruitful attempts:
Code: Select all
convert imagemagick-input.jpg -trim imagemagick-result.jpg
Code: Select all
convert imagemagick-input.jpg -background white -fuzz 0% -trim imagemagick-result.jpg
Code: Select all
convert imagemagick-input.jpg -background white -splice 5x0 -fuzz 0% -trim imagemagick-result.jpg
Result (expecting nothing to have changed as it was properly trimmed to begin with):