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