Thank you for an amazing SeaGL 2021!
Love SeaGL and want to help out? Get Involved

Robust image resizing

If your application handles images you’ve probably written something to crop and resize them. It’s simple enough to execute ImageMagick with the appropriate flags, but is that sufficient?

In this talk we will:

  • Explore common pitfalls of naive image resizing implementations
    • Native binary versioning differences (which version of ImageMagick am I using?)
    • Uncapped RAM usage
    • EXIF orientation issues
    • ICC color profile support
  • Compare performance of different image processing tools
    • ImageMagick
    • GraphicsMagick
    • VIPS
  • Create an AWS Lambda image resize function
    • Lets us bound RAM utilization per request
    • Includes known versions of native dependencies


James Cooper

James Cooper

James has been writing software for over 20 years. When not in front of a computer, you might find him cooking vegetarian food, waiting on his cats, or traveling.