Image_lib: A possible patch for CodeIgniter, see their PR 3106.