mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
docs: clarify shared resolution precedence
This commit is contained in:
1 parent
c526df24f3
commit
9481cecd22
1 file changed
+1
-1
@@ -46,7 +46,7 @@ pub fn export_xmp(xmp: &str, ppi: Option<(f32, f32)>) -> Cow<'_, str> {
|
||||
craft_metadata::edit::export_xmp(xmp, ppi)
|
||||
}
|
||||
|
||||
/// Resolution recorded by Photoshop ResolutionInfo, XMP or EXIF, in precedence order.
|
||||
/// Resolution recorded by XMP or EXIF when a format-specific resolution field is absent.
|
||||
pub fn resolution(exif: Option<&[u8]>, xmp: Option<&str>) -> Option<(f32, f32)> {
|
||||
craft_metadata::edit::resolution(exif, xmp)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user