Here is how you can do it with ImageMagick: `convert -gravity center -background black -compose Copy -resize 800x450 -extent 800x450 input.png output.png` Sadly I don't know how to do it without specifying the size in pixels. Using `16:9` for resize and extent doesn't do the trick.
Do you have instructions so your mom could do that? Or would you just send here to the OPs website? I know which I'd do...
Show HN: Make Your Photo 16x9
41–45 of 45 posts
Re: Show HN: Make Your Photo 16x9
#42I'm somewhat surprised twitter hasn't gone ahead and implemented something like this themselves. Kudos for building a solution!
The only solution is for Twitter to stop cropping the images. Problem solved.
Re: Show HN: Make Your Photo 16x9
#43Earlier quoted context omitted.
Letterboxing has been deemed Ugly by modern web designers. Better to discard useful content until it looks nice.
It was deemed ugly long before that. TVs have been defaulting to stretching/cropping to avoid letterboxing or pillarboxing for years. And before that, movies were converted with pan-and-scan to fill a 4:3 TV.
Re: Show HN: Make Your Photo 16x9
#44Here is how you can do it with ImageMagick: `convert -gravity center -background black -compose Copy -resize 800x450 -extent 800x450 input.png output.png` Sadly I don't know how to do it without specifying the size in pixels. Using `16:9` for resize and extent doesn't do the trick.
Do you have instructions so your mom could do that? Or would you just send here to the OPs website? I know which I'd do...