Tags » imagemagick
TIL: Removing letterboxing from a video screenshot with ImageMagick
Using
-trim
will remove the black portions and leave you the unletterboxed image.Beware of transparent backgrounds when using AVIF with ImageMagick 6
You probably want to use version 7.
TIL: Replace black/white parts of an image with ImageMagick