Skip Menu |

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

Report information
The Basics
Id: 76005
Status: resolved
Priority: 0/
Queue: Template-Flute-PDF

People
Owner: racke [...] linuxia.de
Requestors: MARKOV [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.0030
Fixed in: 0.0040



The module requires Image::Magick, which is a horrible module to get installed on many platforms, even RedHat SLES. The only use is to convert images formats != gif/tif/jpeg/png (should pdf be accepted as well?) By far most images are of that format. When "use Image::Magick;" in the top is replace by eval "require Image::Magick"; die $@ if $@; my $magick = Image::Magick->new; only when it is needed. You will get a run-time error if not installed and needed... During installation, getting this module should either be a question or left out in the first place. It requires a bit of attention from the module user, but not too much. IMO.
Subject: Re: [rt.cpan.org #76005]
Date: Mon, 26 Mar 2012 08:44:16 +0200
To: bug-Template-Flute-PDF [...] rt.cpan.org
From: "Stefan Hornburg (Racke)" <racke [...] linuxia.de>
On 03/23/2012 05:36 PM, Mark Overmeer via RT wrote: Show quoted text
> Fri Mar 23 12:36:14 2012: Request 76005 was acted upon. > Transaction: Ticket created by MARKOV > Queue: Template-Flute-PDF > Subject: (No subject given) > Broken in: 0.0030 > Severity: Wishlist > Owner: Nobody > Requestors: MARKOV@cpan.org > Status: new > Ticket<URL: https://rt.cpan.org/Ticket/Display.html?id=76005> > > > The module requires Image::Magick, which is a horrible module to get > installed on many platforms, even RedHat SLES. The only use is to convert > images formats != gif/tif/jpeg/png (should pdf be accepted as well?) By > far most images are of that format. >
Unfortunately I have an use case with BMP images. Show quoted text
> When "use Image::Magick;" in the top is replace by > > eval "require Image::Magick"; die $@ if $@; > my $magick = Image::Magick->new; > > only when it is needed. You will get a run-time error if not installed > and needed... > > During installation, getting this module should either be a question > or left out in the first place. It requires a bit of attention from the > module user, but not too much. IMO. >
I agree with you and will fix this shortly. Thanks Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team
Fix is now in Git repository: https://github.com/racke/Template- Flute/commit/ebc4606e40516e052afd08870788674c1630c5fc Regards Racke
Fixed in 0.0040. Regards Racke