Closed
Bug 67674
Opened 25 years ago
Closed 14 years ago
[RFE]Implement the "sparkle" effect
Categories
(Core :: Graphics: ImageLib, enhancement)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: tenthumbs, Unassigned)
References
()
Details
(Whiteboard: [imagelib])
Mozilla currently uses a 2D tiling scheme for displaying interlaced PNG
images. The libpng docs describe a different approach, the "sparkle" effect,
where the image pixels are just display in their final locations as they
arrive. The image seems to just grow in place.
The libpng docs do not like the sparkle method but I don't like the tiled
method because the incoming image appears to move up and to the left as more
of it arrives.
Maybe mozilla should support both. A user pref would be nice. Maybe, even, a
web page could eventually select the method.
Just an idea.
Updated•25 years ago
|
Comment 1•25 years ago
|
||
Bah. Implementing the `sparkle effect' would take us back to the bad old days of
1995, when Mozilla/0.91 and earlier did this for interlaced GIFs. And a user pref
for it would incite rage from those who accuse Mozilla of being bloated, and
they'd be right.
If you don't like the image appearing to move up and/or to the left with the
tiled method -- which is a reasonable complaint -- then file an RFE for each tile
(except the tiles on the edge of the image) to be centered around the downloaded
pixel, rather than having its top left corner on the downloaded pixel.
Updated•25 years ago
|
OS: Linux → All
Hardware: PC → All
Who mentioned GIFs? I didn't. This is about 2D interlacing.
You don't like it; I do. That's nice.
Comment 3•25 years ago
|
||
> Who mentioned GIFs?
I did. That's why the comment says `Additional comments from Matthew Thomas
(mpt)' at the top.
> This is about 2D interlacing.
As used by both PNGs and GIFs. There's no good reason for them to behave
differently.
But a 1D sparkle would probably have a venetian blind effect. Hard to say if it
looks good. There's no reason why 1D and 2D interlacing has to be the same.
All pnunn bugs reassigned to Pav, who is taking over
the imglib.
Assignee: pnunn → pavlov
Status: ASSIGNED → NEW
Comment 6•24 years ago
|
||
The best method as far as I can tell is the interpolated approach. This has the
effect of starting off looking blurry and coming into focus as the image loads.
This method makes text in the image readable earlier in the download process
than the other methods. O'Reilly's "PNG: The Definitive Guide" talks about it
and shows a side-by-side comparison.
Comment 7•24 years ago
|
||
<URL:http://www.its.caltech.edu/~stl/png.html> has some nice images of PNGs
being showed with a) bicubic interpolation, b) bilinear interpolation, c) no
interpolation.
As you can see, it's much easier to see what the image is about when using
bicubic interpolation, even when only 1/64 of it is downloaded. I think
interpolation (preferably bicubic) would be the best way to display adam7 PNGs.
Comment 8•24 years ago
|
||
Bilinear/cubic interpolation should be filed as a separate bug (which would be
much more likely to be fixed than this bug would).
Updated•24 years ago
|
Whiteboard: [imagelib]
Comment 9•24 years ago
|
||
Bicubic interpolation is now bug #75941.
Comment 10•24 years ago
|
||
> Bicubic interpolation is now bug #75941.
No, it's bug #75077.
Sorry for not mentioning that I had filed this bug.
Updated•23 years ago
|
Summary: Implement the "sparkle" effect → [RFE]Implement the "sparkle" effect
Updated•18 years ago
|
Assignee: pavlov → nobody
QA Contact: tpreston → imagelib
Comment 11•17 years ago
|
||
Swapping URL for archive.org
Comment 12•14 years ago
|
||
Talked with Joe, marking as wontfix.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•