Skip to content

Commit

Permalink
finally fix imagemagick EXIF/comment stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrit committed Apr 21, 2011
1 parent 742c98f commit 576edf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions assets_extension.rb
Expand Up @@ -15,9 +15,7 @@ class AssetsExtension < Radiant::Extension
dragonfly.configure_with(:imagemagick)
# Overriding command to strip metadata from resized/converted images
# see https://github.com/markevans/dragonfly/pull/61#issuecomment-1037694
dragonfly.processor.configure do |c|
c.convert_command = 'convert -strip'
end
Dragonfly::ImageMagickUtils.convert_command = 'convert -strip'
dragonfly.configure_with(:rails)
dragonfly.define_macro(ActiveRecord::Base, :image_accessor)
dragonfly.url_path_prefix = path
Expand Down

0 comments on commit 576edf3

Please sign in to comment.