feh icon indicating copy to clipboard operation
feh copied to clipboard

what of zoom-rate

Open stephenboston opened this issue 1 year ago • 3 comments

I am looking for more precision in the ratio of change in a zoom step.

After this issue https://github.com/derf/feh/pull/677 I expected to use --zoom-rate=<some integer>

But my try gets this

 feh: unrecognized option '--zoom-rate=512'
  • feh version 3.10-2-g0102fdc-dirty
  • 6.6.2-arch1-1

stephenboston avatar Nov 29 '23 14:11 stephenboston

--zoom-step is the number of button or key presses between powers of 2 --zoom-rate represents the number of pixels between powers of 2 that the user clicks and drags between while in zoom mode.

Have you tried using --zoom-step?

Also, that change hasn't been approved yet. To test it, you'll need to build feh from scratch using that pull request's branch.

myQwil avatar Nov 30 '23 19:11 myQwil

Ah yes. That's better. A step of 1 must be the smallest? and will have to be good enough. Thank you.

But out of interest: what happened to zoom-rate? Why am I not seeing it?

stephenboston avatar Nov 30 '23 20:11 stephenboston

No, a step of 1 is the largest. That would mean that every zoom step increases or decreases the zoom to the next or previous power of 2.

Actually no, 1 is not the largest, because you can specify fractions. The smaller the number, the bigger the jumps between zoom levels.

myQwil avatar Nov 30 '23 20:11 myQwil