-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from apanov/osx-dll
webp-dll for mac os x
- Loading branch information
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# one-webp | ||
JNI wrapper to convert JPEG and PNG to WebP | ||
|
||
### Mac OS X | ||
Before build native library it's needed to install libpng, libwebp and jpeg-turbo: | ||
|
||
Using brew: | ||
``` | ||
brew install libpng | ||
brew install webp | ||
brew install jpeg-turbo | ||
``` | ||
For build libonewebp.dylib: | ||
``` | ||
ant clean webp-dll -Djpeg-turbo.version=2.0.0 -Dlibpng.version=1.6.35 -Dlibwebp.version=1.0.0 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters