Skip Menu |

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

Report information
The Basics
Id: 86908
Status: resolved
Worked: 20 min
Priority: 0/
Queue: PDF-Report

People
Owner: TEEJAY [...] cpan.org
Requestors: kovacsbv [...] pobox.com
Cc:
AdminCc:

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



Subject: Bugfix for PDF::Report
Date: Sat, 13 Jul 2013 00:22:57 -0400
To: bug-PDF-Report [...] rt.cpan.org
From: Vic Kovacs <kovacsbv [...] pobox.com>
Hi, In version 1.34 of PDF::Report, I recommend changing line 656 to lowercase the extension because Canon digital cameras have the extension in uppercase. Currently, PDF::Report will not recognize files like ./Photos/IMG_1765.JPG. 655 $file =~ /\.(\w+)$/; 656 my $ext = lc $1; 657 658 my $sub = "image_$type{$ext}"; 659 my $img = $self->{pdf}->$sub($file); Vic Kovacs
patch applied an pushed to github, new release on CPAN shortly