• This project
    • Loading...
  • Sign in

josch / img2pdf

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 10
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
Closed
Open
Issue #40 opened 2018-02-06 14:14:33 UTC by Jean-Baptiste Pressac@JBPressac

--viewer-magnification problem

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,

Edited 2018-02-08 07:56:37 UTC
  • josch
    @josch commented 2018-02-08 07:56:37 UTC
    Master

    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.

  • Please register or sign in to post a comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
None
Due date
No due date
2
2 participants
Reference: josch/img2pdf#40