probablycorey/mini_magick — pull request #79 by robertjwhitney (2012-03-06 20:29:05+00:00)
Title: proposed method for image creation via convert

In the README documentation there is the description of a create method

```ruby
image = MiniMagick::Image.create 'jpg', false do |c|
c.size '1024x1024' # creates image option '-size 1024x1024'
c.canvas 'black' # creates image creation operator 'canvas:black'
end
```

which doesn't actually work. What this method actually does is better documented in lib/mini_magick.rb:

```ruby
# Used to create a new Image object data-copy. Not used to "paint" or that kind of thing.
#
# Takes an extension in a block and can be used to build a new Image object. Used
# by both #open and #read to create a new object! Ensures we have a good tempfile!
```

which specifically states it doesn't perform the above documented functionality.

This proposed method would allow for what is described above, and give a clear way to build temporary images for performing some of ImageMagick's trickier patterns, things like dynamic text resizing etc.