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.
Cool... any chance to see a "photo1x1.com" doing exactly the same for Instagram, maybe? (They favour square format creating a simikar problem for users).
I just skimmed the source code and it looks like you could add support for other aspect ratios really easily. Not sure if OP is accepting pull requests.
EDIT: I went ahead and added quick support for other aspect ratios myself. Feel free to use it.
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.
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.
I built four tools that looked and functioned almost exactly like this about six years ago, but using PHP.
They were called "Picture Perfect," "Portrait Perfect," "Partner Perfect," and "Process Perfect."
I initially developed Picture Perfect for my reporter colleagues at a news radio station to use for our website, and they loved it.
Just drag a photo on the site, crop it exactly how you want to our website's exact aspect, and hit download to save it to a work machine.
My homophobic boss didn't like that I had this on my own server and didn't get approval to share it first, so he ended up sending the link to SoCast (a CMS company) and they built the functionality into the backend a week later. Whatever- it made our lives easier.
Then I moved on and worked at a small local news blog site, and repurposed these tools to use there. We had a quota of articles to write, post, and schedule on social media per shift, and these got 45 minutes of manual photo editing down to five minutes per shift.
These were the tools:
Picture Perfect: Drag and drop a photo, then draw a crop box on it and output exactly the dimension you need.
Portrait Perfect: Drag and drop a portrait photo, and output a version of it centred on a blown-up, blurry version of itself.
Partner Perfect: Drag and drop two photos, draw a crop box on each, and output a single image of them sitting side by side (useful for two portraits of sports stars, or when there were two mugshots).
Process Perfect: Drag and drop a photo and either output a black and white version or a version with a colour multiply effect applied.
When I left that job, I pulled them offline, but recently started work on a site that merged all four of them (behind a login, where you can create any aspect and save your creations). It's buggy and slow, but I haven't had the time to finish polishing it: https://phototools.prezince.com/
But either way, it definitely provided value, and I'm glad someone has done it using only front end code. Good work!
This is either the opposite of how people used to say things that weren't cool were "gay," or you just added a useless detail to the story for I'm not sure what reason.
He actively tried to cripple my career because of my sexuality, going as far to start putting me on non-broadcasting shifts because I "sounded too gay" (which I don't, I just don't have an AM voice that sounds like I've been smoking cigars for two decades).
In his words, it "affected the trust listeners had in the station."
So, he wasn't pleased I built a tool in two hours that he couldn't deliver in at least a year.
I didn't even hide the tool. I gave it to two senior staffers and sent it his way right away.
> I'm pretty sure you're allowed to build little utility websites and share them with your friends on Facebook.
Your friends, sure, but not necessarily your coworkers, depending on the context. The company might be under various legal obligations with regards to how those photos are used, and sending them to an unapproved third party could put them in serious legal hot waters. That's regardless of your intentions.
I doubt that's the case here and trust your assessment of the situation. I also think the comment you're replying to wasn't particularly tactful. But yeah, it could be an issue in some situations and, like it or not, as engineers we always have to keep an eye out for this kind of stuff.
I don't know the laws here in Canada but I was always under the impression if you do something on your own time with your own equipment, you own the IP. It's been that way at several of my employers in the creative fields.
I only spent two hours building the initial Picture Perfect prototype, so at least it got something done when my former boss couldn't deliver something after two years of people begging for an easier way.
At first glance (and the glances after that), the blurring makes me think there are things being censored. IMO unhelpful because the audience will think "hey why is this screenshotter hiding stuff before and after the quote?"
I've been looking for something like this for a while, for the same reason as you (optimizing pics for Twitter). I currently use the Skitch app on macOS, which requires like 5 clicks and a few keystrokes to lock the ratio to 16x9.
My friend has a blog and will love this. Could you let the user control the blur ? I tried it and for some images I found that the blur was not strong enough.
`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.