Bug 757356 - png conversion is wrong
Summary: png conversion is wrong
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-26 17:07 UTC by Need Real Name
Modified: 2011-12-11 15:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-11 15:57:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
q.png (218.49 KB, image/png)
2011-11-26 17:10 UTC, Need Real Name
no flags Details
a.jpg (201.89 KB, image/jpeg)
2011-11-26 17:11 UTC, Need Real Name
no flags Details
b.jpeg (155.10 KB, image/jpeg)
2011-11-26 17:12 UTC, Need Real Name
no flags Details

Description Need Real Name 2011-11-26 17:07:50 UTC
when converting 
convert -verbose  /tmp/a.png /tmp/a.jpg
/tmp/a.png PNG 567x794 567x794+0+0 8-bit DirectClass 224KB 0.000u 0:00.009
/tmp/a.png=>/tmp/a.jpg PNG 567x794 567x794+0+0 8-bit GrayscaleMatte DirectClass 205KB 0.020u 0:00.019

the resulting a.jpg is negative

Comment 1 Need Real Name 2011-11-26 17:10:32 UTC
Created attachment 536813 [details]
q.png

rpm -qf `which convert`
ImageMagick-6.6.5.10-20.fc15.x86_64

Same thing with 
pngtopnm /tmp/a.png  |pnmtojpeg >/tmp/b.jpeg

rpm -qf `which pngtopnm`
netpbm-progs-10.56.04-1.fc15.x86_64

Comment 2 Need Real Name 2011-11-26 17:11:01 UTC
Created attachment 536814 [details]
a.jpg

Comment 3 Need Real Name 2011-11-26 17:12:00 UTC
Created attachment 536815 [details]
b.jpeg

pngtopnm /tmp/a.png  |pnmtojpeg >/tmp/b.jpeg

rpm -qf `which pngtopnm`
netpbm-progs-10.56.04-1.fc15.x86_64

Comment 4 Need Real Name 2011-11-26 17:13:43 UTC
Interestingly, firefox shows a.png correctly,
but document viewer does not

Comment 5 Need Real Name 2011-11-27 08:23:32 UTC
Same thing with 
rpm -qf `which convert`
ImageMagick-6.7.1.9-1.fc15.x86_64

Comment 6 Pavel Alexeev 2011-12-11 15:57:29 UTC
Thank you for your bugreport and willing make free software better!

Reported upstream: http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=19984

We close bug now, as it related to upstream developing. But we continue track changes and whatever it will be fixed ve consider make update in Fedora.


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