Skip to content

Picnido 1.3.8

Choose a tag to compare

@sosoddosgithub sosoddosgithub released this 24 Nov 16:00
· 1 commit to main since this release

Zooming a hundred-megapixel photo no longer waits.

What changed

  • While the wheel, a pinch or a drag is still moving, the viewer now draws only from pixels already in memory — it never decodes or allocates a new plane mid-gesture. A 101-megapixel file's full-resolution plane is 388 MB, and zero-filling that while a gesture is running was the one-second hole with no frame in it.
  • A sharp pass runs 0.2 s after the hand stops, so the expensive work lands where no frame is due instead of inside the gesture.
  • The crop budget during a drag is capped at 2048 px on the long side: handing CoreAnimation a fresh 12-megapixel bitmap measured 87 ms against 3 ms for the crop itself.
  • Frame statistics now separate gesture frames from idle frames. A still window with nothing to redraw is not stutter, and the report no longer pretends it is.

Measured, 8736x11648 JPEG, 130 real wheel events

1.3.7 1.3.8
frames over 100 ms during the gesture 1 (worst 197 ms) 0 (worst 16–55 ms)
drag at 400%: mean lateness 14.4 ms 10.3 ms
drag at 400%: p95 lateness 35.4 ms 26.9 ms
tiles re-rendered during the drag 7 66–72

New judgement script: work/verify_zoom_smooth.sh. New development hooks: PICNIDO_FPS_GAPS, PICNIDO_LOG_TIME.