title: How to upload a PNG, add transparent pixels to it, and write it to a database?
body: <p>I am looking for information on how to retrieve a PNG file sent to the server via POST. Subsequently, I want to increase the height of the image to make it equal to the width by adding equal areas of transparent pixels to the top and bottom. Finally, I want to write this PNG to my database.</p>
  
  <p>Does anybody have any resources that could help?</p>