Skip to content

Commit

Permalink
Bump version to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lopcode committed Nov 22, 2024
1 parent 80bffd3 commit 63cd223
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Run samples
run: |
vips --version || brew install vips
vips --version || brew install --force vips
./run_samples.sh
windows-sense-check:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repositories {
}

dependencies {
implementation("app.photofox.vips-ffm:vips-ffm-core:1.2.2")
implementation("app.photofox.vips-ffm:vips-ffm-core:1.3.0")
}
```
When running your project you must add `--enable-native-access=ALL-UNNAMED` to your JVM runtime arguments. If you
Expand Down
18 changes: 12 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2 id="usage-heading">Usage</h2>
}

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

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

0 comments on commit 63cd223

Please sign in to comment.