Progressive JPEG
Last updated
Last updated
convert -strip -interlace Plane -quality 80 input-file.jpg output-file.jpgfor i in source/images/backgrounds/*.jpg; do convert -strip -interlace Plane -quality 80 $i $i; donedef optimize
manipulate! do |img|
return img unless img.mime_type.match /image\/jpeg/
img.strip
img.combine_options do |c|
c.quality "80"
c.depth "8"
c.interlace "plane"
end
img
end
endversion :large do
process :optimize
end
`