Compare commits
2
Commits
3302936b08
...
a8abdd2484
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8abdd2484 | ||
|
|
934fde185a |
No files matched your search
@@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
TIFF decoding and encoding library in pure Rust
|
TIFF decoding and encoding library in pure Rust
|
||||||
|
|
||||||
|
Forked from https://github.com/image-rs/image-tiff. Changes: read images containing RGBPalette frames, ignoring colormaps.
|
||||||
|
|
||||||
## Supported
|
## Supported
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ impl Image {
|
|||||||
.map(Value::into_u16)
|
.map(Value::into_u16)
|
||||||
.transpose()?
|
.transpose()?
|
||||||
.and_then(PhotometricInterpretation::from_u16)
|
.and_then(PhotometricInterpretation::from_u16)
|
||||||
.ok_or(TiffUnsupportedError::UnknownInterpretation)?;
|
.unwrap_or(PhotometricInterpretation::BlackIsZero);
|
||||||
|
|
||||||
// Try to parse both the compression method and the number, format, and bits of the included samples.
|
// Try to parse both the compression method and the number, format, and bits of the included samples.
|
||||||
// If they are not explicitly specified, those tags are reset to their default values and not carried from previous images.
|
// If they are not explicitly specified, those tags are reset to their default values and not carried from previous images.
|
||||||
|
|||||||
Reference in new issue
Block a user