Bug 718794

Summary: `convert' bug in border handling sets background to black
Product: [Fedora] Fedora Reporter: Michal Nowak <mnowak>
Component: ImageMagickAssignee: Pavel Alexeev <pahan>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 15CC: nmurray, ohudlick, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-06 08:34:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 718455    
Attachments:
Description Flags
Source 22x22 px file
none
Broken image from F15's `convert'
none
Expected 24x24px file from Rawhide's IM none

Description Michal Nowak 2011-07-04 16:23:20 UTC
Created attachment 511206 [details]
Source 22x22 px file

Description of problem:

When investigating bug 718455 in gnome-colors-icon-theme I came to conclusion that the problem lies in IM's `convert' utility. g-c-i-t's Makefile tries to convert 22x22 px transparent PNG to 24x24 px transparent PNG with 1px border:

convert -bordercolor Transparent -border 1x1 src.png target.png

Version-Release number of selected component (if applicable):

IM in F-15: 6.6.5.10-19.fc15

How reproducible:

always

Steps to Reproduce:
1. Run the command.
  
Actual results:

Black background.

Expected results:

Transparent background.

Additional info:

It's fixed in IM from Rawhide (tested) dunno which patch.

Comment 1 Michal Nowak 2011-07-04 16:24:08 UTC
Created attachment 511207 [details]
Broken image from F15's `convert'

Comment 2 Michal Nowak 2011-07-04 16:24:56 UTC
Created attachment 511208 [details]
Expected 24x24px file from Rawhide's IM

Comment 3 Pavel Alexeev 2011-07-06 08:34:00 UTC
Thank you for the bug report.

Meantime if I understand you correctly new version in rawhide work as expected. Then I close it as RAWHIDE.

Comment 4 Michal Nowak 2011-07-07 11:31:35 UTC
Sure it's fixed in Rawhide but it also means those icons will be broken for entire Fedora 15's lifetime.

I could go thru IM's patches to find the one which fixed this but I can't even find the IM's VCS...

Comment 5 Pavel Alexeev 2011-07-11 11:58:51 UTC
Sure, I think it is not so important bug to initiate update in current release.

IM Subversion: http://imagemagick.org/script/subversion.php