0
我一直在使用回形針寶石https://github.com/thoughtbot/paperclip。是否有任何方法使用回形針單獨調整圖像大小,而不必使用Imagemagick?如果沒有,有沒有其他的寶石/插件不需要ImageMagick來調整上傳圖片的大小?Rails回形針是否有任何方式來調整圖像的大小,而不使用imagemagick
謝謝所有,任何想法將不勝感激。
我一直在使用回形針寶石https://github.com/thoughtbot/paperclip。是否有任何方法使用回形針單獨調整圖像大小,而不必使用Imagemagick?如果沒有,有沒有其他的寶石/插件不需要ImageMagick來調整上傳圖片的大小?Rails回形針是否有任何方式來調整圖像的大小,而不使用imagemagick
謝謝所有,任何想法將不勝感激。
你可以使用fastimage_resize。 它很輕但功力較弱