Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Something similar to this was done at my old job, about four years ago. It took images that were not square and padding out the shorter dimension with an averaged colour from the edge. It looks like so:

http://i.imgur.com/6WZCQ.png

Sometimes it works well, other times it really doesn't. But it's an interesting idea- and certainly not a new one (though Apple has certainly done it better)



What is this? A png for ants? ;)


Hah, yes, it's a bad example. I couldn't remember how to grab a larger size, but now I remember. Here's a 150px example:

http://i.imgur.com/fjehG.jpg


ahh, much better! Thanks! I'm assuming the top section was the generated content on it, correct?


And the bottom. That you didn't notice is a testament to how well it works... sometimes :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: