libis-format 0.9.23 → 0.9.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6da0d346cc0447e615991fd72637a58dad86c4fa
4
- data.tar.gz: dc22da7ae4018757274d2b0531af680438c26498
3
+ metadata.gz: 286511fce2c9c94bbd9032dc88e15c9b39d91fee
4
+ data.tar.gz: a2d15da57695ef36fcb09961c32443606ed35858
5
5
  SHA512:
6
- metadata.gz: 2006e623d07fca05eccb2eed9e2223c4c44bd202053231227f26b5564f308c41ff0810796556eeb32e9f3804e5798be93bb123b7f67db02837bf1f2ded468ff9
7
- data.tar.gz: 29d8ab43eb47664695ab6c705768529ba53eff4df1a06bf86a695f7aabe58c691f3724dd679203aabdf340c3bf576749d45f9d9663e98269acdc4e153a24a2a1
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)
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Format
3
- VERSION = '0.9.23'
3
+ VERSION = '0.9.24'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.23
4
+ version: 0.9.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser