我正在尝试存储一个经过优化jpegotim
但具有原始分辨率的图像版本
很多 10mb+ 的图像包含很多不必要的数据。加载时在客户端是不必要的。
有没有我可以选择的设置可以让我做同样的事情?
现在我正在使用以下设置
# Optimize the file size
process :optimize => [{ quality: 90 }]
# Create different versions of your uploaded files:
version :thumb do
process :resize_to_fill => [48, 48]
end
version :small do
process :resize_to_fill => [128, 128]
end
version :large do
process :resize_to_fill => [512, 512]
end