Raw-rs: make decoder for ARW1 and ARW2 formats (#1775)

* convert Tag into a trait

* Create ARW 1 decoder

* add decoder for sony tone curve table

* create decoder for arw 2.1 format

* add windsock.arw to the tests

* create derive macro for Tag and use it in decoders

* add license to tag-derive

* add code to identify model

* impl Display for Ifd

* Code review

* Fix type variable name

* Fix compilation

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Elbert Ronnie
2024-06-28 03:23:05 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent c9a33e44bd
commit fd3613018a
16 changed files with 720 additions and 160 deletions
Generated
+16
View File
@@ -618,6 +618,12 @@ dependencies = [
"serde",
]
[[package]]
name = "bitstream-io"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c12d1856e42f0d817a835fe55853957c85c8c8a470114029143d3f12671446e"
[[package]]
name = "block"
version = "0.1.6"
@@ -4770,9 +4776,11 @@ checksum = "9c8a99fddc9f0ba0a85884b8d14e3592853e787d581ca1816c91349b10e4eeab"
name = "raw-rs"
version = "0.0.1"
dependencies = [
"bitstream-io",
"downloader",
"libraw-rs",
"num_enum 0.7.2",
"tag-derive",
"thiserror",
]
@@ -5895,6 +5903,14 @@ dependencies = [
"version-compare 0.2.0",
]
[[package]]
name = "tag-derive"
version = "0.0.1"
dependencies = [
"quote",
"syn 2.0.66",
]
[[package]]
name = "take_mut"
version = "0.2.2"