[Webkit-unassigned] [Bug 28130] [Haiku] Adding Image-specific files to WebCore.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 11:35:24 PDT 2009


--- Comment #12 from Ryan Leavengood <leavengood at gmail.com>  2009-08-12 11:35:22 PDT ---
(In reply to comment #11)
> I see.  Well, if you want to land the patch in the sort of state it's in now,
> we could either #if !PLATFORM(HAIKU) (or whatever the appropriate switch is)
> that block, or add some sort of ENABLE flag (which I am less in favor of).

Maxime let's just revert to using their ImageDecoder for now, and we can try
using translators later.

> If you want to use a completely different mechanism (I have no idea what
> BTranslators are :D), we can design for that once you've got code that would
> work.

Maybe you really don't care, but:

Translators are a pretty interesting idea from BeOS (that has been copied in
Haiku) which allow file formats to be converted to a common base format to
facilitate all kinds of conversions. It is sort of like translating languages
into a base language to translate between them (though it works a lot better
for binary data than human languages.) The main use at the moment is for
images, so that all the image translators can convert to and from a basic
bitmap, which allows conversions from PNG to JPG, JPG to GIF, RAW to PNG, etc.

It is a pretty cool idea and of course we want to make use of such nice
Haiku-only technologies in our WebKit port to make it truly native. The end
result of this should be that our WebKit port would be able to render any
images we have a translator for, without having to modify or recompile WebKit

We can come back to this later when we have something better working. Your
willingness to adapt WebKit to help us is very much appreciated!

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list