Skip to content

Commit 63cd223

Browse files
committed
Bump version to 1.3.0
1 parent 80bffd3 commit 63cd223

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Run samples
5757
run: |
58-
vips --version || brew install vips
58+
vips --version || brew install --force vips
5959
./run_samples.sh
6060
6161
windows-sense-check:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repositories {
2323
}
2424

2525
dependencies {
26-
implementation("app.photofox.vips-ffm:vips-ffm-core:1.2.2")
26+
implementation("app.photofox.vips-ffm:vips-ffm-core:1.3.0")
2727
}
2828
```
2929
When running your project you must add `--enable-native-access=ALL-UNNAMED` to your JVM runtime arguments. If you

docs/index.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ <h2 id="usage-heading">Usage</h2>
7070
}
7171

7272
dependencies {
73-
implementation(&quot;app.photofox.vips-ffm:vips-ffm-core:1.2.2&quot;)
73+
implementation(&quot;app.photofox.vips-ffm:vips-ffm-core:1.3.0&quot;)
7474
}
7575
</code></pre>
7676
<p>When running your project you must add <code>--enable-native-access=ALL-UNNAMED</code> to your JVM runtime arguments. If you
@@ -122,8 +122,7 @@ <h3 id="thumbnail-sample-heading">Thumbnail sample</h3>
122122
Vips.run { arena -&gt;
123123
val sourceImage = VImage.newFromFile(
124124
arena,
125-
&quot;sample/src/main/resources/sample_images/rabbit.jpg&quot;,
126-
VipsOption.Enum(&quot;access&quot;, VipsAccess.ACCESS_SEQUENTIAL) // example of an option
125+
&quot;sample/src/main/resources/sample_images/rabbit.jpg&quot;
127126
)
128127
val sourceWidth = sourceImage.width
129128
val sourceHeight = sourceImage.height
@@ -132,9 +131,9 @@ <h3 id="thumbnail-sample-heading">Thumbnail sample</h3>
132131
val outputPath = workingDirectory.resolve(&quot;rabbit_copy.jpg&quot;)
133132
sourceImage.writeToFile(outputPath.absolutePathString())
134133

135-
val thumbnail = sourceImage.thumbnail(
136-
&quot;sample/src/main/resources/sample_images/rabbit.jpg&quot;,
137-
400
134+
val thumbnail = sourceImage.thumbnailImage(
135+
400,
136+
VipsOption.Boolean(&quot;auto-rotate&quot;, true) // example of an option
138137
)
139138
val thumbnailWidth = thumbnail.width
140139
val thumbnailHeight = thumbnail.height
@@ -218,6 +217,13 @@ <h2 id="native-library-loading-heading">Native library loading</h2>
218217
<li><code>vipsffm.abinumber.glib.override</code>, default: <code>0</code></li>
219218
<li><code>vipsffm.abinumber.gobject.override</code>, default: <code>0</code></li>
220219
</ul>
220+
<p>If you want to manually override the library lookup path for any of the above (for example, if you're using a platform
221+
like Android where it's hard to set the system library path), you can do so using these system properties:</p>
222+
<ul>
223+
<li>libvips: <code>vipsffm.libpath.vips.override</code> (eg <code>/opt/homebrew/lib/libvips.dylib</code>)</li>
224+
<li>glib: <code>vipsffm.libpath.glib.override</code></li>
225+
<li>gobject: <code>vipsffm.libpath.gobject.override</code></li>
226+
</ul>
221227
<h2 id="project-goals-heading">Project goals</h2>
222228
<p>Ideas and suggestions are welcome, but please make sure they fit in to these goals, or you have a good argument about
223229
why a goal should change!</p>

0 commit comments

Comments
 (0)