[Camino] Image Formats
Smokey Ardisson
alqahira at ardisson.org
Fri Mar 16 14:54:30 PST 2007
At 2:34 AM -0600 on 3/16/07, Polycarbonate at Open-Jugular.com wrote:
>Is there any significant movement in the browser/web universe toward
>wider support/use of JPEG2000 format?
No.
> While searching around a little, i found this page:
>
>http://homepage.mac.com/gregcoats/jp2/formats.html
>
>It correctly claims that JPEG, JPEG2000, PNG, PSD, TIFF, TIFF LZW,
>and BMP are all rendered properly by Safari, but shows that
>JPEG2000, PSD, TIFF, and TIFF LZW aren't rendered by Camino.
This is not entirely correct. They won't be rendered as inline
images, but if they are served with the correct MIME type*, Camino
will render them as stand-alone images using QuickTime.
* Note that the page you found is on a server which sends the JP2
files as "application/octet-stream" (e.g., random binary data), so no
Mozilla browser will ever attempt to render it. MIME types are all
correct at
<http://www.ardisson.org/smokey/moz/gregcoats/formats.html>, so you
can better see how things behave.
There's pretty solid resistance among the ImageLib peers to adding
native support for any file formats other than APNG (TIFF, JP2, MNG,
and any "format of the day"). However, ImageLib is extensible, so one
could write an xpcom component that contains the decoder for each OS
platform (and ship it as an extension)
<https://bugzilla.mozilla.org/show_bug.cgi?id=18574#c689>, provided
bug <https://bugzilla.mozilla.org/show_bug.cgi?id=374088> is also
fixed.
On Mac OS X, some entreprising hacker could probably write a
component that calls the native OS routines for decoding these image
formats and achieve Safari partiy.
Smokey
--
Smokey Ardisson
Co-Lead
Triage/QA and Website & Documentation
The Camino Project
More information about the Camino
mailing list