Bug 718794 - `convert' bug in border handling sets background to black
Summary: `convert' bug in border handling sets background to black
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: 15
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 718455
TreeView+ depends on / blocked
 
Reported: 2011-07-04 16:23 UTC by Michal Nowak
Modified: 2013-03-08 02:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-06 08:34:00 UTC
Type: ---


Attachments (Terms of Use)
Source 22x22 px file (796 bytes, image/png)
2011-07-04 16:23 UTC, Michal Nowak
no flags Details
Broken image from F15's `convert' (980 bytes, image/png)
2011-07-04 16:24 UTC, Michal Nowak
no flags Details
Expected 24x24px file from Rawhide's IM (796 bytes, image/png)
2011-07-04 16:24 UTC, Michal Nowak
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.