Skip to content

A little library for reading and writing EXIF data in pure Rust.

License

Notifications You must be signed in to change notification settings

revoltchat/little_exif

 
 

Repository files navigation

little_exif

A little library for reading and writing EXIF data in pure Rust.

version-badge  license-badge 

Supported Formats

  • JPEG
  • JXL
  • PNG
  • WebP (only lossless and extended)

Your required format is not listed here or you've run into a problem with a file that should be supported? Open up a new issue (ideally with an example image for reproduction in case of a problem) and I'll take a look!

Example

use little_exif::metadata::Metadata;
use little_exif::exif_tag::ExifTag;

let image_path = std::path::Path::new("image.png");
let mut metadata = Metadata::new_from_path(&image_path);

metadata.set_tag(
	ExifTag::ImageDescription("Hello World!".to_string())
);

metadata.write_to_file(&image_path);

License

Licensed under either

at your option.

About

A little library for reading and writing EXIF data in pure Rust.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%