unidoc / unipdf

Golang PDF library for creating and processing PDF files (pure go)
https://unidoc.io
Other
2.5k stars 249 forks source link

Fix for decoding LZW encoded data #395

Closed ZavierHenry closed 3 years ago

ZavierHenry commented 4 years ago

Closes #236

The image that renders once fixing this issue is a black box instead of the QR code

pre-algebra_translate_1

However, that issue seems to be unrelated to this one and should be addressed in a different PR


This change is Reviewable

codecov[bot] commented 4 years ago

Codecov Report

Merging #395 into master will decrease coverage by 0.01%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #395      +/-   ##
==========================================
- Coverage   57.34%   57.33%   -0.02%     
==========================================
  Files         249      249              
  Lines       47251    47262      +11     
==========================================
  Hits        27096    27096              
- Misses      16727    16737      +10     
- Partials     3428     3429       +1     
Impacted Files Coverage Δ
core/encoding.go 53.12% <0.00%> (-0.48%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 60bb696...88c9e13. Read the comment docs.