| Crates.io | kapy-exif |
| lib.rs | kapy-exif |
| version | 0.2.1 |
| created_at | 2025-04-30 12:53:43.833046+00 |
| updated_at | 2026-01-09 15:38:34.241396+00 |
| description | A minimal library that extracts and replaces EXIF for images |
| homepage | |
| repository | https://github.com/scryner/kapy-exif |
| max_upload_size | |
| id | 1654883 |
| size | 105,856 |
This is a simple library that extracts and replaces EXIF data in an image file. It focuses on the minimal functionalities required by the Kapy application, and therefore, it might be difficult to use for general purposes.
The functionalities this library focuses on are as follows:
This section describes how to build the crate with 'exiv2' feature. This feature is required to manipulate(get tag, update GPS info) EXIF data.
If you don't need to manipulate EXIF data, you can build the crate without the 'exiv2' feature. In this case, you do not need to follow the instructions below.
If you use Homebrew (https://brew.sh/), you can easily install the required packages.
After installing Homebrew, you can install the required packages and build the application by running the following command:
$ brew install pkg-config exiv2
$ cargo build --features=exiv2
If you are not using Homebrew, please install the required packages below and set the corresponding environment variables accordingly:
EXIV2_INCLUDE_DIRS - list of include directories split by :
EXIV2_LIB_DIRS - list of lib directories split by :
> set EXIV2_INCLUDE_DIRS={YOUR_EXIV2_INCLUDE_DIR}
> set EXIV2_LIB_DIRS={YOUR_EXIV_LIB_DIR}
> set LIBCLANG_PATH={YOUR_LLVM_BIN_DIR}
> cargo build --features=exiv2