Skip to content

Commit db89f14

Browse files
authored
Update png_to_ovg.py
1 parent 36f6a01 commit db89f14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

png_to_ovg.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def output_bitstream(pixels, compressed, cmdBlock):
2222
finalBytes = finalBytes + bitstring_to_bytes(f"{cmdBlock}{pixels}")
2323

2424

25-
# todo: pixels to be a list we can iterate through
2625
def construct_bitstream(count, pixels, compressed):
2726
# print(f"Pixel input: {count}, {pixels}, {compressed}")
2827
# Make it a string we can read like a file
@@ -39,7 +38,6 @@ def construct_bitstream(count, pixels, compressed):
3938
output_bitstream(bitsOut, compressed, cmdBlock)
4039
count = count - binary_max - 1
4140
# If any are left after that, output them too
42-
# fixme: just do this in the loop above?
4341
if count > 0:
4442
cmdBlock = str(compressed) + binary_repr(count - 1, 7)
4543
if compressed:

0 commit comments

Comments
 (0)