Skip Menu | will be shut down on March 1st, 2021.

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

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

Owner: alfredreibenschuh [...]
Requestors: rob_russell [...]

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 [...]
From: Rob Russell <rob_russell [...]>
Download (untitled) / with headers
text/plain 726b
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 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

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to