By Jean-Baptiste Pressac on 2018-02-06T14:14:33.008Z
Hello,
On Debian with a Python Conda env with img2pdf 0.2.4 + Python 3.6.4 + pdfrw 0.4, when I set --viewer-magnification, the PDF viewers (Gnome Evince on Debian or PDF Acrobat on Windows) do not take the default zoom value into account. For instance, for a 50% zoom by default, I tried:
The PDF code that img2pdf generates as a result of specifying the --viewer-magnification option with a float parameter is what libre office does. You can try to do the same with libre office, export as pdf and under "Initial View" select your desired zoom factor. It also doesn't seem to have any effect.
*By Jean-Baptiste Pressac on 2018-02-06T14:14:33.008Z*
Hello,
On Debian with a Python Conda env with img2pdf 0.2.4 + Python 3.6.4 + pdfrw 0.4, when I set --viewer-magnification, the PDF viewers (Gnome Evince on Debian or PDF Acrobat on Windows) do not take the default zoom value into account. For instance, for a 50% zoom by default, I tried:
```
img2pdf -o test.pdf --viewer-magnification 50 *.jpg
img2pdf -o test.pdf --viewer-magnification 0.5 *.jpg
img2pdf -o test.pdf --viewer-magnification 50.0 *.jpg
```
Did I something wrong ?
Thanks,
---
*By josch on 2018-02-08T07:56:37.026Z*
---
I can confirm this observation.
The PDF code that img2pdf generates as a result of specifying the `--viewer-magnification` option with a float parameter is what libre office does. You can try to do the same with libre office, export as pdf and under "Initial View" select your desired zoom factor. It also doesn't seem to have any effect.
By Jean-Baptiste Pressac on 2018-02-06T14:14:33.008Z
Hello,
On Debian with a Python Conda env with img2pdf 0.2.4 + Python 3.6.4 + pdfrw 0.4, when I set --viewer-magnification, the PDF viewers (Gnome Evince on Debian or PDF Acrobat on Windows) do not take the default zoom value into account. For instance, for a 50% zoom by default, I tried:
Did I something wrong ?
Thanks,
By josch on 2018-02-08T07:56:37.026Z
I can confirm this observation.
The PDF code that img2pdf generates as a result of specifying the
--viewer-magnification
option with a float parameter is what libre office does. You can try to do the same with libre office, export as pdf and under "Initial View" select your desired zoom factor. It also doesn't seem to have any effect.#165 asks about the same thing