go: x/image/tiff: package doesn't support CCITT Fax 4 Compression
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go1.8 darwin/amd64
What operating system and processor architecture are you using (go env)?
Darwin/amd64
What did you do?
Take a tiff image with CCITT Fax 4 Compression and attempt to decode it with the golang.org/x/image/tiff package.
What did you expect to see?
I expected a level 4 compressed tiff to decode properly.
What did you see instead?
tiff: unsupported feature: compression value 4
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 19 (6 by maintainers)
Commits related to this issue
- ccitt: new package for CCITT images This initial commit only provides a decoder that generates modes and run lengths from a bit stream. Future commits will add more features. Updates golang/go#19443... — committed to golang/image by nigeltao 5 years ago
- ccitt: implement NewReader and DecodeIntoGray The testdata/bw-gopher.png image was derived from testdata/bw-uncompressed.tiff The testdata/*ccitt* data was generated from a custom CCITT encoder: htt... — committed to golang/image by nigeltao 5 years ago
- tiff: Add support for CCITT group 3/4 compression The algorithm is described at https://www.itu.int/rec/T-REC-T.6/en Fixes golang/go#19443 Change-Id: Ib8a078ab43c78d1f58d2ac849ed455b05dc209e9 Revie... — committed to GalaxyForcew/A1bisshy by GalaxyForcew a year ago
- tiff: Add support for CCITT group 3/4 compression The algorithm is described at https://www.itu.int/rec/T-REC-T.6/en Fixes golang/go#19443 Change-Id: Ib8a078ab43c78d1f58d2ac849ed455b05dc209e9 Revie... — committed to yi-ge3/wislie by yi-ge3 a year ago
- tiff: Add support for CCITT group 3/4 compression The algorithm is described at https://www.itu.int/rec/T-REC-T.6/en Fixes golang/go#19443 Change-Id: Ib8a078ab43c78d1f58d2ac849ed455b05dc209e9 Revie... — committed to balloontmz6/Likewise42l by balloontmz6 2 years ago
- tiff: Add support for CCITT group 3/4 compression The algorithm is described at https://www.itu.int/rec/T-REC-T.6/en Fixes golang/go#19443 Change-Id: Ib8a078ab43c78d1f58d2ac849ed455b05dc209e9 Revie... — committed to snapbakkhfbav/SayedBaladohr by snapbakkhfbav 6 months ago
- tiff: Add support for CCITT group 3/4 compression The algorithm is described at https://www.itu.int/rec/T-REC-T.6/en Fixes golang/go#19443 Change-Id: Ib8a078ab43c78d1f58d2ac849ed455b05dc209e9 Revie... — committed to MiderWong5ddop/sidie88f by MiderWong5ddop 7 months ago
- tiff: Add support for CCITT group 3/4 compression The algorithm is described at https://www.itu.int/rec/T-REC-T.6/en Fixes golang/go#19443 Change-Id: Ib8a078ab43c78d1f58d2ac849ed455b05dc209e9 Revie... — committed to rorypeckwnt4v/LearnByBhanuPrataph by rorypeckwnt4v 6 months ago
- tiff: Add support for CCITT group 3/4 compression The algorithm is described at https://www.itu.int/rec/T-REC-T.6/en Fixes golang/go#19443 Change-Id: Ib8a078ab43c78d1f58d2ac849ed455b05dc209e9 Revie... — committed to egorovcharenko9/RiceBIOC470z by egorovcharenko9 5 months ago
I can contribute an enhanced version of x/image/tiff that features:
Right now it’s all located at pdfcpu. Please let me know if this is worth a PR. Thank you!
new.tiff.zip
Output: