CarrierWave + RMagick Square Crop?
问题 I am trying to make a fixed square image crop with Ruby on Rails, CarrierWave, and RMagick. I have tried both of the following with no luck... version :thumb do process :resize_to_fit => [200, 200] end and version :thumb do process :resize_to_limit => [200, 200] end resize_to_limit obviously resizes the image to fit within the specified dimensions while retaining the original aspect ratio. So that's not right, but resize_to_fit doesn't do it either. I am looking at all of the available of the