Skip Menu |

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

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

People
Owner: alfredreibenschuh [...] gmx.net
Requestors: rob_russell [...] sbcglobal.net
Cc:
AdminCc:

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



Subject: $pdf->image_png for color images really slow
Date: Fri, 13 Apr 2007 09:44:17 -0700 (PDT)
To: bug-PDF-API2 [...] rt.cpan.org
From: Rob Russell <rob_russell [...] sbcglobal.net>
I am currently using PDF::API2 – 0.55 Perl, v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 [148120] provided by ActiveState http://www.ActiveState.com Built Jun 6 2005 13:36:37 Running Windows XP locally. I am currently looping through an array of approximately 100 .png images and adding each image to it's own page. When the images were in black and white and approximately 40K in size, the PDF was created in 20 seconds. I converted the images to color (approximately 80K in size now), and ran the same program, and now it takes about 30 seconds just to execute this line: my $img = $pdf->image_png("somefile.png"); Should I be doing something different for color images? Thanks for your help - Rob
works as designed