Skip to content

Commit

Permalink
Issue #1271 fixies
Browse files Browse the repository at this point in the history
  • Loading branch information
opposss committed Oct 17, 2024
1 parent 02fb6a9 commit 9a1551e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fpdf/image_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,9 @@ def _to_lzwdata(img, remove_slice=None, select_slice=None):
data = data_with_padding

# Start compression
result_codes = [
LZW_CLEAR_TABLE_MARKER
] # The encoder shall begin by issuing a clear-table code

# The encoder shall begin by issuing a clear-table code:
result_codes = [LZW_CLEAR_TABLE_MARKER]
table, next_code, bits_per_code, max_code_value = clear_table()

current_sequence = b""
Expand Down

0 comments on commit 9a1551e

Please sign in to comment.