2 ms·
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 averag
by untog 14y ago
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 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)
- industrialwaste 14y agoWhat is this? A png for ants? ;)
- untog 14y agoHah, 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 http://i.imgur.com/fjehG.jpg
- industrialwaste 14y agoahh, much better! Thanks! I'm assuming the top section was the generated content on it, correct?
- untog 14y agoAnd the bottom. That you didn't notice is a testament to how well it works... sometimes :)