image-rs / weezl

LZW en- and decoding that goes weeeee!
Apache License 2.0
25 stars 7 forks source link

Add a `skip` method, discarding some amount of input #8

Open HeroicKatora opened 4 years ago

HeroicKatora commented 4 years ago

In gif it might happen that some part of a frame is outside the region of interest. In these cases it would be interesting to investigate if decoding can be sped up by skipping over and discarding some data. A similar strategy might be useful for seeking in compressed archives.