Content-aware image resizing in JavaScript
You can also apply this to each frame in a video for a rather interesting effect.<p>My brother has a YouTube channel full of content-aware scaling videos:<p><a href="https://youtu.be/a8k3b-QNbhs" rel="nofollow">https://youtu.be/a8k3b-QNbhs</a>