dynamic_image 2.0.12 → 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc4d3bfa16ca81f629710de3b1fcd699205eeab7
4
- data.tar.gz: d95ad4a79d33e00cf6702ad64aaa17341e8ab654
3
+ metadata.gz: e5235c5c6dd04f5af0cbe9fcb4c293efe989c813
4
+ data.tar.gz: e403c4b977e1b3e4b2d9160da2906a4085eb97c2
5
5
  SHA512:
6
- metadata.gz: e9030439eee02c0e679d3031a6f076d3fd16ad9a9fd5bb974e8eacb33e22d64ea9060702ff3ed22e8fa7bf7667c5d58eaeb886344f05089ebe60e55652960e71
7
- data.tar.gz: acffa5e6bca9589df8b78b6230b41e8fd0c6dceba47d1afbc24c51843fd1166f2ede9377be2f8c1e5b77511eedead21a19c8c76658d9f63d299914839509af22
6
+ metadata.gz: bc7e89d53054bbd04c0cbc2a0c95c36c0314b44c0bf2e04b3cd473e085e86a096b1d36fed8b4c8627c1dae53eefa04d31080ad266c093f97a3a1d1651f54bb46
7
+ data.tar.gz: b2d747f2c2dd3e2e45b7f41130b4397dd21abed915fd2990deebdd4a170b16a09978c47502f1b5c8114a4a5cc8516462d392d852b7c976f5652dfd93e6538ee9
@@ -108,7 +108,11 @@ module DynamicImage
108
108
  def optimize(image)
109
109
  image.layers "optimize" if gif?
110
110
  image.strip
111
- image.quality(85) if jpeg?
111
+ if jpeg?
112
+ image.quality(85)
113
+ image.sampling_factor "4:2:0"
114
+ image.interlace "JPEG"
115
+ end
112
116
  end
113
117
 
114
118
  def process_data
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module DynamicImage
4
- VERSION = "2.0.12".freeze
4
+ VERSION = "2.0.13".freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_image
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inge Jørgensen