Bug 8088

Summary: Png-images of covers lost transparency
Product: Koha Reporter: Serhij Dubyk <dubyk>
Component: ToolsAssignee: Galen Charlton <gmcharlt>
Status: In Discussion --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: chris, dubyk, veron
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Small changes in C4/Images.pm

Description Serhij Dubyk 2012-05-14 20:35:16 UTC
Images of covers must preserve transparency of png-images. This is useful for example for the covers of CD/DVD disks.
Comment 1 Serhij Dubyk 2012-05-14 20:39:18 UTC
Created attachment 9573 [details] [review]
Small changes in C4/Images.pm

Replace 
 my $newimage = $image->clone;
by
 my $newimage = GD::Image->new( $width_reduce, $height_reduce, 1 );    
 $newimage->alphaBlending(0);
 $newimage->saveAlpha(1);
Comment 2 Chris Cormack 2012-05-20 09:26:32 UTC
I like the idea, but do we need the commented out transparency lines? 

Can we safely remove those?
Comment 3 Chris Cormack 2012-07-15 09:50:49 UTC
Still waiting on answer to the question before signoff
Comment 4 Serhij Dubyk 2013-03-03 18:08:32 UTC
(In reply to comment #2)
> I like the idea, but do we need the commented out transparency lines? 
> 
> Can we safely remove those?

Yes.
Comment 5 Marc VĂ©ron 2016-10-03 15:28:53 UTC
Still valid?