how do you send the command from this answer: Crop or mask an image into a circle
in carrierwave?
edit: I have this right now:
version :thumb_circle do
# process 'convert -size 350x350 xc:transparent -fill original.jpeg -draw "circle 240,90 300,45" -crop 152x152+164+15 +repage thumb.png'
process :crop_to_circle
end
def crop_to_circle
manipulate! do |img|
img.crop "152x152+164+15"
end
end
And I don't know how to proceed from there. What I wanted to do is on the commented line