fuel/core — pull request #1053 by m4tthumphrey (2012-07-05 22:01:11+00:00)
Title: Allow image extension to be forced.

At the moment you can only pass in a filename with a valid file extension. This prevents you from passing a temporary file or an otherwise "invalid" file. This commit will allow you to pass an additional parameter to force (or override) the file extension so it is processed correctly. It can be useful when when manipulating images directly from a file upload via the Upload class.