[Poppler-bugs] [Bug 20702] New: [PATCH] rendering non-square pixels in pdftoppm

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 16 20:00:06 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=20702

           Summary: [PATCH] rendering non-square pixels in pdftoppm
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: a1237 at danlj.org


Created an attachment (id=23944)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=23944)
GPLv2 or later patch to implement non-square rendering in pdftoppm

I have a need to render non-square pixels in pdftoppm.  I'm not sure yet
whether I'd rather specify x and y resolution explicitly or x and y
scaling separately; due to some variation in my input it's certainly
possible that I'll actually want to use both.

I have implemented it to add -rx and -ry options to specify the x and y
resolution separately.

I have implemented -scale-to-x and -scale-to-y to specify the final x
and y sizes in pixels separately.

I also have modified the man page, including making it clear that the
-scale-to option takes arguments in pixels.

I'd like to mention that the source code was easy to read and modify --
thanks for the good work!  This patch is relative to current git.

I agree to license this patch under GPLv2 or later, as requested in
README.contributors file.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list