Carrierwave - Optimized Original Image

267 Views Asked by At

I am trying to store one version of the image which is optimized using jpegotim but has the original resolution

Lot of images which are 10mb+ holds a lot of unnecessary data. Which when loaded is unnecessary on the client side.

Is there any settings i can choose that will allow me to do the same?

right now i am using the following settings

# 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
0

There are 0 best solutions below