Closed Bug 116378 Opened 23 years ago Closed 23 years ago

Red and Blue components of MNG images swapped on win32

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows ME
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: s98t269, Assigned: tor)

References

()

Details

Attachments

(1 file, 1 obsolete file)

(Sorry for I misunderstanded and mistaked at #66976.)
I discovered the mistake about the new MNG decoder.
The red ingredient and the blue ingredient are reversed.
RGB(Correct) -> BGR (Incorrect, the present Mozilla)
win32 has little imagination regarding byte ordering.  Patch coming up...
Assignee: pavlov → tor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: New MNG decoder's bug → New MNG decoder's bug
Don't want to mess with someone else's bug, but might I suggest changing the
summary of this bug to something a little more specific, like "Red and Blue
components of MNG images swapped on win32"? The current summary "New MNG
decoder's bug" could mean anything.
I, on the other hand, have no problem messing with someone elses bug (!). 
Resummarizing as suggested.
Summary: New MNG decoder's bug → Red and Blue components of MNG images swapped on win32
Attached patch BGR byte ordering for win32 (obsolete) — Splinter Review
Severity: major → normal
->#2,#3
It seems that the title which I had written before was unclear for you. Thank 
you for changing this.

->#4
Thank you very much.
Attachment #62537 - Attachment is obsolete: true
Note: this is only a temporary change until libmng can handle a BGR8_A8 canvas
target.  I'll submit a patch for that to the libmng author.
The attachment #62661 [details] [diff] [review] seems not to include it in the source files of 
BuildID:2001122408.
Bug#116378 are not corrected in this BuildID...
Comment on attachment 62661 [details] [diff] [review]
fix small problem with previous patch

r=pavlov
Attachment #62661 - Flags: review+
Comment on attachment 62661 [details] [diff] [review]
fix small problem with previous patch

sr=blizzard
Attachment #62661 - Flags: superreview+
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified by looking at the test url using 2002011103 on Win2k
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: