libis-format 0.9.23 → 0.9.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libis/format/converter/image_converter.rb +2 -1
- data/lib/libis/format/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 286511fce2c9c94bbd9032dc88e15c9b39d91fee
|
4
|
+
data.tar.gz: a2d15da57695ef36fcb09961c32443606ed35858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da1d1894c33ea372778845146b0a253b3b9bf4eaec580fc3c51db0dc85da0e9bf1e69b61b707bd96b9cf11db5318eacec49bb6a48aef0cdf2fc7ed39c41e75df
|
7
|
+
data.tar.gz: d7fe695bdcae3dac9445006e69666d4fec8c61f7da11790708b1c9e633b8077c97a9ba1f286c3b10d70608ef10ea35a3fb7fd57bac98be5f3f94dfc12e188519
|
@@ -209,11 +209,12 @@ module Libis
|
|
209
209
|
convert << '+set' << 'modify-date' << '+set' << 'create-date'
|
210
210
|
end
|
211
211
|
|
212
|
+
colorspace = @options.delete(:colorspace) || 'sRGB'
|
212
213
|
unless @options.empty?
|
213
214
|
convert.colorspace('RGB')
|
214
215
|
@options.each { |o, v| convert.send(o, v) }
|
215
|
-
convert.colorspace('sRGB') unless @options[:colorspace]
|
216
216
|
end
|
217
|
+
convert.colorspace(colorspace)
|
217
218
|
convert.profile @profile if @profile
|
218
219
|
|
219
220
|
convert.format(format)
|
data/lib/libis/format/version.rb
CHANGED