Closed
Bug 143365
Opened 24 years ago
Closed 23 years ago
unloaded part of bmp image displays black/random garbage
Categories
(Core Graveyard :: Image: Painting, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.4alpha
People
(Reporter: vectro, Assigned: Biesinger)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
15.04 KB,
patch
|
Biesinger
:
review+
tor
:
superreview+
|
Details | Diff | Splinter Review |
The unloaded portion of Windows BitMap images is not displayed as trasparent;
rather, that portion seems to be filled with some image from the cache, or a
solid colour.
The linked page has one example of a windows bitmap which is large enough to
display progressive rendering.
Comment 1•24 years ago
|
||
Mozilla 2002061108/Linux-686.
It WFM, but I have seen similar problem with progressive BMPs delivered in mail.
Comment 2•23 years ago
|
||
2002072204 --- I see the unloaded portion of the BMP as black.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 3•23 years ago
|
||
correcting summary. progressive bmp loading works just fine.
Summary: Progressive loading of BMP images broken → unloaded part of bmp image displays black/random garbage
| Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → Future
| Assignee | ||
Updated•23 years ago
|
Priority: -- → P4
| Assignee | ||
Comment 6•23 years ago
|
||
changing url to point directly at the bmp
| Assignee | ||
Comment 7•23 years ago
|
||
grrr. I found the reason for this bug. it's in gfx code.
I'll attach a patch as soon as I fix the non-gtk platforms.
Component: ImageLib → Image: GFX
Target Milestone: Future → mozilla1.4alpha
| Assignee | ||
Comment 8•23 years ago
|
||
so here's the patch.
It is tested on gtk, and I will test xlib and windows too.
OS/2 seems not affected, and I can't make head or tail of the photon code.
| Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: P4 → P2
Comment 9•23 years ago
|
||
Comment on attachment 116643 [details] [diff] [review]
patch
logic looks good.
I have plans on changing mDecoded[XY][12] to the OS/2 style of mDecodedRect,
but that won't be for a while. So in the mean time, this will be nice.
Attachment #116643 -
Flags: review+
| Assignee | ||
Comment 10•23 years ago
|
||
Comment on attachment 116643 [details] [diff] [review]
patch
tor, could you super-review this simple patch to fix a display problem of
(bottom-to-top loading) bmp images? It makes the nsIImage implementations "do
the right thing" (interestingly, almost all of them have this bug :) )
Attachment #116643 -
Flags: superreview?(tor)
Comment 11•23 years ago
|
||
Note to biesi: Os/2 doesn't have this problem. Works great, and we actually use
the background color before the image is drawn (we don't just fill it white)
Comment 12•23 years ago
|
||
Probably need a check in Draw/DrawTile of the various platforms to bail
if X1>X2 or Y1>Y2, as the [XY]1 values are used in some clipping
calculations.
| Assignee | ||
Comment 13•23 years ago
|
||
Comment on attachment 116643 [details] [diff] [review]
patch
marking superreview- due to last comment, will attach another patch
Attachment #116643 -
Flags: superreview?(tor) → superreview-
| Assignee | ||
Comment 14•23 years ago
|
||
note, this also includes a few warning fixes in nsImageGTK
Attachment #116643 -
Attachment is obsolete: true
| Assignee | ||
Comment 15•23 years ago
|
||
Comment on attachment 117015 [details] [diff] [review]
address tor's comment
transferring r=paper, re-requesting sr
Attachment #117015 -
Flags: superreview?(tor)
Attachment #117015 -
Flags: review+
Comment 16•23 years ago
|
||
Comment on attachment 117015 [details] [diff] [review]
address tor's comment
Good find. sr=tor
Attachment #117015 -
Flags: superreview?(tor) → superreview+
| Assignee | ||
Comment 17•23 years ago
|
||
fixed, thanks for the reviews.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•