次のコードがあります。このコードは、サイズを変更して画像を作成し、16進数の背景を追加します。ローカルホストではこれは機能しますが、herokuでは次のエラーが発生します
version :big do
  process :offer_resize_and_pad
 end
def offer_resize_and_pad
  img = resize_and_pad(600, nil, model.hex, 'Center')
  img
end
"Photo Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: Command (\"mogrify -thumbnail \"600x>\" -background \"#fff\" -gravity \"Center\" -extent \"600x\" /tmp/mini_magick20130217-2-1hts61y.jpg\") failed: {:status_code=>1, :output=>\"mogrify: Empty JPEG image (DNL not supported)/tmp/mini_magick20130217-2-1hts61y.jpg'@ jpeg.c / EmitMessage / 232. \ n \ "