Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
带有 image_magick(以及 rmagick)的carrierwave 提供了诸如 resize_to_fit 等方法。
有没有我可以调用的方法来压缩我的图像,比如 50%?
所有你需要知道的是在 WIKI: https ://github.com/jnicklas/carrierwave/wiki/How-to%3A-Specify-the-image-quality