WaYdotNET/carrierwave-imagesorcery — pull request #3 by tmaier (2012-12-30 18:19:20+00:00)
Title: Fix #convert and mogrify -format calls

when running `#convert` or `mogrify -format`, the file gets copied and renamed. this means it is not anymore accessible via `current_path` (a CarrierWave method) and all following changes will not affect the converted file, but the file from before doing this process.

What is MiniMagick doing in this case?
https://github.com/jnicklas/carrierwave/blob/master/lib/carrierwave/processing/mini_magick.rb#L261
calls `write`, which [copies the file](https://github.com/minimagick/minimagick/blob/master/lib/mini_magick.rb#L312).

I `move` the file to `current_path`. I don't know why they copy and as we don't need the old file anymore, I think it is safe to move.

This pull request depends on EricR/image_sorcery#15, which needs to be merged before.

To try it out now, add this to your `Gemfile`
```ruby
gem "image_sorcery",
git: "git://github.com/tmaier/image_sorcery.git",
branch: "feature/format-support"
```

All specs are passing on Mac OS X and Ubuntu 12.04