Live data from Hacker News

Show HN: Make Your Photo 16x9

einaregilsson.com

41–45 of 45 posts

Re: Show HN: Make Your Photo 16x9

#41
post #29

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...

yes. Figuring out the size thing is a technical problem. Then you can put the resulting script into a desktop-iconifiable format where she can just drag-and-drop her image onto. No website needed and just as simple as the website.

Re: Show HN: Make Your Photo 16x9

#42
post #5

I'm somewhat surprised twitter hasn't gone ahead and implemented something like this themselves. Kudos for building a solution!

This would be a solution to a problem that Twitter created themselves. They decided to crop the images using "advanced algorithms" (which in reality works worse than random()).

The only solution is for Twitter to stop cropping the images. Problem solved.

Re: Show HN: Make Your Photo 16x9

#43
post #37
post #15

Earlier 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.

And DVDs, Sony did this to Visconti's masterpiece Vaghe stelle dell'Orsa, monsters

Re: Show HN: Make Your Photo 16x9

#44
post #29

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...

One can utilize `zenity` with that command to fire up a GUI filepicker and input box for sizes.
Post reply on HN