Skip Menu |

This queue is for tickets about the PDF-API2 CPAN distribution.

Report information
The Basics
Id: 98545
Status: rejected
Priority: 0/
Queue: PDF-API2

People
Owner: Nobody in particular
Requestors: philperry [...] hvc.rr.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: formimage() allow separate x and y scaling?
Date: Tue, 02 Sep 2014 11:50:13 -0400
To: bug-PDF-API2 [...] rt.cpan.org
From: Phil M Perry <philperry [...] hvc.rr.com>
PDF::API2 v2.022 Perl 5.16.3 Windows 7 severity: Wishlist In Content.pm's formimage() method, there is a parameter for scaling. It affects both the x and y scaling. Perhaps an optional parameter could be added to be a separate scale-y (with the original parameter becoming scale-x)?
Subject: [rt.cpan.org #98545]
Date: Mon, 25 Jan 2016 10:05:39 -0500
To: bug-PDF-API2 [...] rt.cpan.org
From: Phil M Perry <philperry [...] hvc.rr.com>
Be aware that scaling an image by different factors in the x and y dimensions will result in distortion. Can anyone think of any legitimate use for such a distorted image? If it's a relatively small difference in scale factors, the resulting image might better fit the allotted space, without distortion being readily apparent. Anyway, the default usage would still be a single scale factor, applied to both x and y, and thus would not break any existing code. To add a comment to this thread, just email bug-PDF-API2 [at] rt.cpan.org with subject line [rt.cpan.org #98545]. Note 1 space between org and #, and the [ ] around the whole subject. Nothing else. If you don't follow this format carefully, you will end up creating a new bug report! HTML formatting within the body does not work.
This doesn't seem to be worth the effort of adding (you've already argued against it in your follow-up comment). If someone has a real-world use case for it and contributes code and tests, then this can be revisited.
Subject: [rt.cpan.org #98545]
Date: Thu, 18 Feb 2016 16:25:05 -0500
To: bug-PDF-API2 [...] rt.cpan.org
From: Phil M Perry <philperry [...] hvc.rr.com>
I wasn't really arguing against it, so much as pointing out that it would probably only be useful for minor stretching in one direction or the other. Nevertheless, unless someone comes up with a crying need for it, it can probably be left in the reject pile for the time being.