Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashtons/libtiff-ios
libTIFF, libPNG and JPEG compiled for iOS
https://github.com/ashtons/libtiff-ios
Last synced: 16 days ago
JSON representation
libTIFF, libPNG and JPEG compiled for iOS
- Host: GitHub
- URL: https://github.com/ashtons/libtiff-ios
- Owner: ashtons
- Created: 2013-09-11T07:14:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-02-14T01:06:46.000Z (9 months ago)
- Last Synced: 2024-07-31T22:56:34.177Z (3 months ago)
- Language: Makefile
- Homepage:
- Size: 26.2 MB
- Stars: 55
- Watchers: 13
- Forks: 35
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
libtiff-ios
===========Based on original script found at http://pastebin.com/Pgiy3rYJ
and the idea from [Tesseract-OCR-iOS Makefile] (https://github.com/gali8/Tesseract-OCR-iOS/pull/210)Compile libTIFF, libPNG and JPEG libraries for use on iOS
Creates "fat" binary libraries compatible with i386/Simulator, x86_64, arm64, armv7 and armv7s
make #builds all libraries
You may also build only the library you wish by specifiying the following make targets:
make libtiff
make libpng
make libjpgBy default every "fat" library will contain all architectures specified above. So it can be linked with apps either for devices or simulator. If you don't need all architectures above (for example, for AppStore submittion), just specify the necessary architectures in the `ARCHS` environement variable as follows:
export ARCHS=armv7, armv7s, arm64
It's much easier now to update to a any (new or old) versions of library: just change a corresponding version numbers in the beginning of the make file:
PNG_NAME = libpng-1.6.42
JPEG_SRC_NAME = jpegsrc.v9f# filename at the server
JPEG_DIR_NAME = jpeg-9f# folder name after the JPEG_SRC_NAME archive has been unpacked
TIFF_NAME = tiff-4.6.0Location for the XCode version to use is identified using
xcode-select -p
If you have multiple versions installed, you can switch to a different installation usingxcode-select -s /full_path_to_xcode/