vips 8.8.0.3 → 8.10.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +5 -2
  3. data/README.md +3 -1
  4. data/example/connection.rb +17 -0
  5. data/example/daltonize8.rb +13 -15
  6. data/example/example1.rb +1 -2
  7. data/example/example4.rb +2 -2
  8. data/example/example5.rb +4 -5
  9. data/example/inheritance_with_refcount.rb +2 -19
  10. data/example/progress.rb +30 -0
  11. data/example/thumb.rb +2 -4
  12. data/example/trim8.rb +4 -4
  13. data/ext/Rakefile +2 -2
  14. data/lib/vips.rb +101 -35
  15. data/lib/vips/align.rb +0 -1
  16. data/lib/vips/angle.rb +0 -1
  17. data/lib/vips/angle45.rb +0 -1
  18. data/lib/vips/bandformat.rb +0 -2
  19. data/lib/vips/blend_mode.rb +0 -2
  20. data/lib/vips/coding.rb +0 -1
  21. data/lib/vips/compass_direction.rb +0 -1
  22. data/lib/vips/connection.rb +46 -0
  23. data/lib/vips/direction.rb +0 -1
  24. data/lib/vips/extend.rb +0 -1
  25. data/lib/vips/gobject.rb +8 -4
  26. data/lib/vips/gvalue.rb +15 -9
  27. data/lib/vips/image.rb +269 -204
  28. data/lib/vips/interesting.rb +0 -1
  29. data/lib/vips/interpolate.rb +0 -5
  30. data/lib/vips/interpretation.rb +0 -1
  31. data/lib/vips/kernel.rb +0 -1
  32. data/lib/vips/methods.rb +150 -59
  33. data/lib/vips/object.rb +126 -18
  34. data/lib/vips/operation.rb +169 -101
  35. data/lib/vips/operationboolean.rb +0 -1
  36. data/lib/vips/operationcomplex.rb +0 -1
  37. data/lib/vips/operationcomplex2.rb +0 -1
  38. data/lib/vips/operationcomplexget.rb +0 -1
  39. data/lib/vips/operationmath.rb +0 -1
  40. data/lib/vips/operationmath2.rb +0 -1
  41. data/lib/vips/operationrelational.rb +0 -1
  42. data/lib/vips/operationround.rb +0 -1
  43. data/lib/vips/region.rb +73 -0
  44. data/lib/vips/size.rb +0 -1
  45. data/lib/vips/source.rb +89 -0
  46. data/lib/vips/sourcecustom.rb +90 -0
  47. data/lib/vips/target.rb +87 -0
  48. data/lib/vips/targetcustom.rb +78 -0
  49. data/lib/vips/version.rb +1 -1
  50. metadata +14 -7
  51. data/CHANGELOG.md +0 -266
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Vips
3
- VERSION = "8.8.0.3"
3
+ VERSION = "8.10.5"
4
4
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vips
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.8.0.3
4
+ version: 8.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Cupitt
8
8
  - Samuel Williams
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-06-10 00:00:00.000000000 Z
12
+ date: 2021-01-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -135,11 +135,11 @@ files:
135
135
  - ".gitignore"
136
136
  - ".travis.yml"
137
137
  - ".yardopts"
138
- - CHANGELOG.md
139
138
  - Gemfile
140
139
  - README.md
141
140
  - Rakefile
142
141
  - example/annotate.rb
142
+ - example/connection.rb
143
143
  - example/daltonize8.rb
144
144
  - example/example1.rb
145
145
  - example/example2.rb
@@ -147,6 +147,7 @@ files:
147
147
  - example/example4.rb
148
148
  - example/example5.rb
149
149
  - example/inheritance_with_refcount.rb
150
+ - example/progress.rb
150
151
  - example/thumb.rb
151
152
  - example/trim8.rb
152
153
  - example/watermark.rb
@@ -161,6 +162,7 @@ files:
161
162
  - lib/vips/blend_mode.rb
162
163
  - lib/vips/coding.rb
163
164
  - lib/vips/compass_direction.rb
165
+ - lib/vips/connection.rb
164
166
  - lib/vips/direction.rb
165
167
  - lib/vips/extend.rb
166
168
  - lib/vips/gobject.rb
@@ -181,14 +183,19 @@ files:
181
183
  - lib/vips/operationmath2.rb
182
184
  - lib/vips/operationrelational.rb
183
185
  - lib/vips/operationround.rb
186
+ - lib/vips/region.rb
184
187
  - lib/vips/size.rb
188
+ - lib/vips/source.rb
189
+ - lib/vips/sourcecustom.rb
190
+ - lib/vips/target.rb
191
+ - lib/vips/targetcustom.rb
185
192
  - lib/vips/version.rb
186
193
  - vips.gemspec
187
194
  homepage: https://github.com/ioquatix/vips
188
195
  licenses:
189
196
  - MIT
190
197
  metadata: {}
191
- post_install_message:
198
+ post_install_message:
192
199
  rdoc_options: []
193
200
  require_paths:
194
201
  - lib
@@ -203,8 +210,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
210
  - !ruby/object:Gem::Version
204
211
  version: '0'
205
212
  requirements: []
206
- rubygems_version: 3.0.2
207
- signing_key:
213
+ rubygems_version: 3.1.2
214
+ signing_key:
208
215
  specification_version: 4
209
216
  summary: Vips is a high-performance image manipulation library.
210
217
  test_files: []
@@ -1,266 +0,0 @@
1
- # Changelog
2
-
3
- ## master
4
-
5
- ## Version 2.0.14 (2018-10-3)
6
-
7
- * update links for new home [jcupitt]
8
- * various doc fixes [janko-m]
9
- * update docs for 8.7 [jcupitt]
10
- * add `Vips::get_suffixes` [jcupitt]
11
-
12
- ## Version 2.0.13 (2018-8-6)
13
-
14
- * allow optional args to have `nil` as a value [janko-m]
15
- * fix five small memleaks [kleisauke]
16
-
17
- ## Version 2.0.12 (2018-4-25)
18
-
19
- * fix `Vips::Image#has_alpha?` with older libvips [larskanis]
20
-
21
- ## Version 2.0.11 (2018-4-23)
22
-
23
- * fix init with older glib [lsat12357]
24
- * add `Vips::Image#has_alpha?` and `#add_alpha` [aried3r]
25
-
26
- ## Version 2.0.10 (2017-12-21)
27
-
28
- * add support for uint64 parameters
29
- * add `draw_point` convenience method
30
- * add docs for `CompassDirection` [janko-m]
31
- * add `MAX_COORD` constant
32
- * doc fixes [janko-m]
33
- * remove duplicate function attach [janko-m]
34
- * fix a crash with `new_from_buffer` with a UTF-8 string [janko-m]
35
-
36
- ## Version 2.0.9 (2017-12-21)
37
-
38
- * update docs for libvips 8.6
39
-
40
- ## Version 2.0.8 (2017-09-14)
41
-
42
- * add `thumb.rb` example, and verify we run stably and in constant memory
43
- * cleanups and polish [Nakilon]
44
- * add `composite` convenience method
45
- * add `Vips::concurrency_set` and `Vips::vector_set`
46
-
47
- ## Version 2.0.7 (2017-09-08)
48
-
49
- * disable the logging for now, it could deadlock
50
-
51
- ## Version 2.0.6 (2017-09-02)
52
-
53
- * improve get() behaviour on error with older libvipses
54
-
55
- ## Version 2.0.5 (2017-09-02)
56
-
57
- * fix get() with older libvipses
58
-
59
- ## Version 2.0.4 (2017-09-02)
60
-
61
- * add a test for `get_fields`, since it appeared in libvips 8.5 (thanks zverok)
62
-
63
- ## Version 2.0.3 (2017-09-02)
64
-
65
- * add `get_fields`
66
-
67
- ## Version 2.0.2 (2017-08-26)
68
-
69
- * switch to `logger` for all logging output
70
- * add libvips cache control functions `Vips::cache_set_max()` etc.
71
- * fix a ref leak
72
-
73
- ## Version 2.0.1 (2017-08-23)
74
-
75
- * add support for `VipsRefStr` in gvalue, thanks tomasc
76
-
77
- ## Version 2.0.0 (2017-08-22)
78
-
79
- * rewrite on top of 'ffi' [John Cupitt, Kleis Auke Wolthuizen]
80
-
81
- ## Version 1.0.6 (2017-07-17)
82
-
83
- * remove lazy load, fixing a race with multi-threading [felixbuenemann]
84
- * make `Image#to_a` much faster [John Cupitt]
85
- * remove the `at_exit` handler [John Cupitt]
86
-
87
- ## Version 1.0.5 (2017-04-29)
88
-
89
- * fix `_const` for libvips 8.5 [John Cupitt]
90
- * add `scaleimage`, the scale operation renamed to avoid a clash with the
91
- `scale` property [John Cupitt]
92
- * add `.new_from_image`: make a new image from a constant [John Cupitt]
93
- * `bandjoin` will use `bandjoin_const`, if it can [John Cupitt]
94
- * update generated docs for libvips 8.5 [John Cupitt]
95
- * added docs for new libvips 8.5 enums [John Cupitt]
96
-
97
- ## Version 1.0.4 (2017-02-07)
98
-
99
- * remove stray comma from some docs lines [John Cupitt]
100
- * update generated docs for libvips 8.5 [John Cupitt]
101
- * small doc improvements [John Cupitt]
102
- * update for gobject-introspection 3.1 [John Cupitt]
103
- * support ruby 2.4 [John Cupitt]
104
-
105
- ## Version 1.0.3 (2016-08-18)
106
-
107
- * doc improvements [John Cupitt]
108
- * add `Image#size` to get `[width, height]` [John Cupitt]
109
- * only ask for ruby 2.0 to help OS X [John Cupitt]
110
- * break up `Image.call` to make it easier to understand [John Cupitt]
111
- * detect operation build fail correctly [John Cupitt]
112
- * lock gobject-introspection at 3.0.8 to avoid breakage [John Cupitt]
113
-
114
- ## Version 1.0.2 (2016-07-07)
115
-
116
- * add `.yardopts` to fix ruby-gems docs [John Cupitt]
117
-
118
- ## Version 1.0.1 (2016-07-07)
119
-
120
- * simplify gemspec [sandstrom]
121
- * remove jeweler dependency [John Cupitt]
122
- * add `.to_a` to Image [John Cupitt]
123
-
124
- ## Version 1.0.0 (2016-06-07)
125
-
126
- * complete rewrite, API break [John Cupitt]
127
-
128
- ## Version 0.3.14 (2016-01-25)
129
-
130
- * more GC tuning [felixbuenemann]
131
- * add `write.rb` example program [felixbuenemann]
132
-
133
- ## Version 0.3.13 (2016-01-18)
134
-
135
- * don't use generational GC options on old Rubys [John Cupitt]
136
-
137
- ## Version 0.3.12 (2016-01-17)
138
-
139
- * incremental GC every 10 writes [felixbuenemann]
140
- * updated bundle [John Cupitt]
141
-
142
- ## Version 0.3.11 (2015-10-15)
143
-
144
- * added magick load from buffer [John Cupitt]
145
-
146
- ## Version 0.3.10 (2015-06-24)
147
-
148
- * added webp write [John Cupitt]
149
-
150
- ## Version 0.3.9 (2014-07-17)
151
-
152
- * removed a stray file from gemspec [Alessandro Tagliapietra]
153
- * updated bundle [John Cupitt]
154
- * revised spec tests [John Cupitt]
155
- * fix a segv in im.label_regions [John Cupitt]
156
- * add a Valgrind suppressions file [John Cupitt]
157
- * fix .monotonic? [John Cupitt]
158
- * fix .data on coded images [John Cupitt]
159
- * add .size, see issue #58 [John Cupitt]
160
- * add rdoc-data dep, maybe it will help ruby-gems docs [John Cupitt]
161
-
162
- ## Version 0.3.8 (2014-05-11)
163
-
164
- * add VIPS::thread_shutdown(), must be called on foreign thread exit [John Cupitt]
165
-
166
- ## Version 0.3.7 (2014-02-04)
167
-
168
- * update build dependencies [John Cupitt]
169
- * README updated [John Cupitt]
170
-
171
- ## Version 0.3.6 (2013-06-25)
172
-
173
- * add png and jpg load from memory buffer [John Cupitt]
174
- * README updated to include buffer read/write example [John Cupitt]
175
- * better vips version testing [John Cupitt]
176
- * spec tests for new buffer read/write code [John Cupitt]
177
- * fix rdoc build to include C sources [John Cupitt]
178
- * better compat with older libvips [John Cupitt]
179
-
180
- ## Version 0.3.5 (2013-01-15)
181
-
182
- * rb_raise() in mask.c no longer passes a string pointer as the fmt arg, stopping gcc bailing out on some platforms [John Cupitt]
183
- * Image.magick() now calls im_magick2vips() directly rather than relying on libvips file type sniffing [John Cupitt]
184
-
185
- ## Version 0.3.4 (2012-09-11)
186
-
187
- * Update specs for lcms changes, thanks Stanislaw [John Cupitt]
188
- * VIPS::Reader supports .exif() / .exif?() methods for better back compat, thanks Jeremy [John Cupitt]
189
- * VIPS::Reader fallbacks load the image if its not been loaded [John Cupitt]
190
- * VIPS::Reader no longer allows VIPS::Header methods [John Cupitt]
191
-
192
- ## Version 0.3.3 (2012-08-31)
193
-
194
- * Typo in workaround in 0.3.2 [John Cupitt]
195
-
196
- ## Version 0.3.2 (2012-08-31)
197
-
198
- ### Fixed
199
-
200
- * Workaround helps ruby-vips compile (and run) against 7.26.3 [John Cupitt and
201
- James Harrison]
202
-
203
- ## Version 0.3.1 (2012-08-30)
204
-
205
- ### Fixed
206
-
207
- * PNG writer no longer changes the filename argument [John Cupitt]
208
- * Workaround helps ruby-vips compile against 7.26.3 [John Cupitt]
209
- * Image read now runs GC and retries on fail [John Cupitt]
210
- * Image write GCs every 100 images [John Cupitt]
211
-
212
- ## Version 0.3.0 (2012-07-20)
213
-
214
- ### Added
215
-
216
- * More rspec tests [John Cupitt]
217
- * Updated to libvips-7.30 [John Cupitt]
218
-
219
- ### Changed
220
-
221
- * Reworked Reader class offers better performance and compatibility [John
222
- Cupitt]
223
- * Don't use :sequential option for older libvipses [John Cupitt]
224
- * Rename "tone_analyze" as "tone_analyse" for consistency with the rest of
225
- vips [John CUpitt]
226
-
227
- ### Fixed
228
-
229
- * Now passes rspec test suite cleanly in valgrind [John Cupitt]
230
- * Fixed check of sequential mode support [Stanislaw Pankevich]
231
-
232
- ## Version 0.2.0 (2012-06-29)
233
-
234
- ### Added
235
-
236
- * Add tile_cache [John Cupitt]
237
- * Add :sequential option to tiff, jpeg and png readers [John Cupitt]
238
- * Add raise if suitable pkg_config for libvips is not found, thanks to Pierre
239
- Chapuis [Stanislaw Pankevich]
240
- * Add backward compatibility of 0.1.x ruby-vips with libvips versions less than 7.28 [John Cupitt]
241
- * Add Travis. ruby-vips now is being tested on travis-ci.org. [Stanislaw Pankevich]
242
-
243
- ### Changed
244
-
245
- * Disable the vips8 operation cache to save some memory [John Cupitt]
246
- * Update example shrinker [John Cupitt]
247
-
248
- ### Fixed
249
-
250
- * #8: Memory allocation-free issues [Grigoriy Chudnov]
251
-
252
- ## Version 0.1.1 (2012-06-22)
253
-
254
- ### Changed
255
-
256
- * Upgrade spec/* code to latest RSpec [Stanislaw Pankevich]
257
-
258
- ### Added
259
-
260
- * Added CHANGELOG.md file (thanks to jnicklas/capybara - using the layout of their History.txt) [Stanislaw Pankevich]
261
- * Added Gemfile with the only 'rspec' dependency. [Stanislaw Pankevich]
262
- * Added Jeweler Rakefile contents to release ruby-vips as a gem. [Stanislaw Pankevich]
263
-
264
- ## Before (initial unreleased version 0.1.0)
265
-
266
- Long-long history here undocumented...