{"issue":{"created_at":"2010-10-01T13:11:51Z","state":"closed","updated_at":"2011-11-26T14:33:03Z","user":{"gravatar_id":"dc62a8427d8a34b08e71cd7ee0b5d760","id":339029,"url":"https://api.github.com/users/b0c1","login":"b0c1","avatar_url":"https://secure.gravatar.com/avatar/dc62a8427d8a34b08e71cd7ee0b5d760?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":5,"body":"If I try to convert a gif to png (image.format \"png\")\nIt's generate the key frames but the script using wrong name.\nIt's try: \nmini_magick20101001-6120-1sc6m69-0.png\n\nBut in the filesystem:\nmini_magick20101001-6120-1sc6m69-0.png.0","assignee":null,"id":342366,"labels":[],"number":14,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Windows gif conversion problem","closed_at":"2011-02-28T15:06:46Z","html_url":"https://github.com/probablycorey/mini_magick/issues/14","milestone":null,"url":"https://api.github.com/repos/probablycorey/mini_magick/issues/14"},"action":"created","comment":{"created_at":"2011-11-26T14:33:03Z","updated_at":"2011-11-26T14:33:03Z","user":{"gravatar_id":"7d116b912a4fc7986b40d5d0d0d811d6","id":426230,"url":"https://api.github.com/users/Mik-die","login":"Mik-die","avatar_url":"https://secure.gravatar.com/avatar/7d116b912a4fc7986b40d5d0d0d811d6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I have same issue and debug it.\r\nThis is my debug trace:\r\n\r\n```shell\r\n/Users/mikdiet/.rvm/gems/ruby-1.9.2-p290@yes_v4/gems/mini_magick-3.3/lib/mini_magick.rb:381\r\ncommand = command_builder.command\r\n(rdb:1) n\r\n/Users/mikdiet/.rvm/gems/ruby-1.9.2-p290@yes_v4/gems/mini_magick-3.3/lib/mini_magick.rb:383\r\nsub = Subexec.run(command, :timeout => MiniMagick.timeout)\r\n(rdb:1) p command\r\n\"mogrify -background \\\"none\\\" -rotate \\\"26\\\" -gravity \\\"Center\\\" -crop \\\"600x600\\\" /var/folders/bt/npcdycvj1074nhm15lknp5d80000gn/T/mini_magick20111126-26613-wwlphb.png\"\r\n(rdb:1) l\r\n[378, 387] in /Users/mikdiet/.rvm/gems/ruby-1.9.2-p290@yes_v4/gems/mini_magick-3.3/lib/mini_magick.rb\r\n   378      end\r\n   379  \r\n   380      def run(command_builder)\r\n   381        command = command_builder.command\r\n   382  \r\n=> 383        sub = Subexec.run(command, :timeout => MiniMagick.timeout)\r\n   384  \r\n   385        if sub.exitstatus != 0\r\n   386          # Clean up after ourselves in case of an error\r\n   387          destroy!\r\n(rdb:1) n\r\n```\r\n\r\nMM expects file mini_magick20111126-26613-wwlphb.png because this name was pointed in params for mogrify.\r\n\r\nBut actually there are 4 files with suffixes '-0', '-1' etc\r\n\r\nmini_magick20111126-26613-wwlphb-0.png contains 600x600 image, other images are cutted parts (strangely, I point center gravity, so must be 8 cutted parts..)\r\n\r\nmacos 10.7.2, ImageMagick 6.7.1-1, mini_magick (3.3)","id":2881853,"url":"https://api.github.com/repos/probablycorey/mini_magick/issues/comments/2881853"}}