>> `convert -version` => "Version: ImageMagick 6.2.4 07/28/09 Q16 http://www.imagemagick.org \nCopyright: Copyright (C) 1999-2005 ImageMagick Studio LLC\n\n"
On Mon, 2009-12-14 at 20:14 -0800, Luke G wrote:
> Hi,
>
> I am using Paperclip, and attempting to do a resize of images uploaded
> by the user:
>
> My model looks like this:
>
> class MyImage < ActiveRecord::Base
>
> has_attached_file :pic,
> :styles => {
> :sidebar => ["140x1^", :jpg],
> :listable => ["1x200^", :jpg]
> },
> :storage => :s3,
> :s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
> :path => ":attachment/:id/:style.:extension"
>
> # lots more code
> end
>
> I updated Paperclip's error reporting so that it gives me the stderr
> from the ImageMagick command. When I post to create with a valid .jpg
> file, I get the following error message coming out of ImageMagick
> (this is the stderr using Open3::popen3):
>
> convert: invalid argument for option `140x1^': -resize
>
>
> I'm wondering if Heroku has an older version of ImageMagick
> installed? I searched a bit and noted that, "(The ^ feature is new as
> of IM 6.3.8-2.)"[see 1]
>
> Otherwise, any other insights from anyone?
> Thanks in advance
> - Luke
>
>
> sources:
> [1] http://www.imagemagick.org/www/command-line-processing.html#geometry
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>
signature.asc
Description: This is a digitally signed message part
