Many sites have a simple requirement of &quot;allow user to upload a jpeg, resize it to create user profile pic for the user&quot;. No need to support anything but the most common formats for this, but you need security and you need speed of resizing.