Skip to content

Commit

Permalink
truncated file: partial zoomlevel interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsneyers committed Sep 10, 2016
1 parent dc3b09f commit 7b85f43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flif-dec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ void flif_decode_FLIF2_inner_interpol(Images &images, const ColorRanges *ranges,
int z = zoomlevels[P];
int p = P;
v_printf_tty(2,"\nINTERPOLATE_REMAINING[%i,%ux%u] ",p,images[0].cols(z),images[0].rows(z));
v_printf_tty(5,"\n");
if (z >= endZL) zoomlevels[P]--;
if (z % 2 == 0) {
// horizontal: scan the odd rows
for (uint32_t r = (R>=0 ? R : 1); r < images[0].rows(z); r += 2) {
Expand Down

0 comments on commit 7b85f43

Please sign in to comment.