IFF format was created Electronic Arts while RIFF format was created by Microsoft.
While RIFF is very similiar to IFF that still doesn't make it IFF. You wouldn't call PNG IFF either although it also happens to also use four ASCII characters for chunk type and an uint32 as chunk size (IFF inspired OTOH maybe).
Unfortunately Microsoft didn't just create RIFF they also created a bigendian version of it called RIFX. Fortunately however the RIFX format isn't used by anything AFAIK so there's no need to support it.
@Chris Wow, you were quick off the draw with porting it! Look forward to a datatype, so we aren't left behind... Although not sure if OWB actually uses datatypes for unknown formats?
Thought it was worth having a quick go at porting it, fortunately libvpx had already been ported or I wouldn't have got very far.
The DataType is nearly working, I'm just getting no image output at all. I suspect it's something easy to fix.
AFAIK OWB doesn't use DataTypes for unknown image types. NetSurf doesn't either, I considered adding it but the amount of work involved in the core made me decide not to bother - especially as all formats that are used are already supported.
AFAIK OWB doesn't use DataTypes for unknown image types. NetSurf doesn't either, I considered adding it but the amount of work involved in the core made me decide not to bother - especially as all formats that are used are already supported.
NetSurf will shortly support WebP though, unless anybody seriously objects to my patch
While you're right that RIFF != IFF, they are more than just similar. RIFF is based on IFF. If you put the specifications next to each other, it's clear that Microsoft took IFF and created a little-endian variant of it called RIFF.
Anyway, its just anoth 32-bit chunk format. A very logical way of storing information in files. Doesn't really have anything to do with IFF since such a chunk format isn't that hard to "accidently" invent....
Software developer for Amiga OS3 and OS4. Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Deniil wrote: Reversed IFF..? As in little endian :)
Anyway, its just anoth 32-bit chunk format. A very logical way of storing information in files. Doesn't really have anything to do with IFF since such a chunk format isn't that hard to "accidently" invent....
... and "accidentally" call it (Resource) Interchange File Format, just like the original.
It is generally accepted that RIFF is based on Electronic Arts' Interchange File Format (IFF). Yes, even amongst people who have zero interest in the Amiga.
It is generally accepted that RIFF is based on Electronic Arts' Interchange File Format (IFF). Yes, even amongst people who have zero interest in the Amiga.
Then I'm sure it is, just saying.... :)
Software developer for Amiga OS3 and OS4. Develops for OnyxSoft and the Amiga using E and C and occasionally C++
>You might be interested to know that AVI files are also in RIFF format.
Also, WAV files are RIFFs.
My Report+ utility (http://aminet.net/util/misc/ReportPlus.lha) can examine both IFFs and RIFFs (and I can confirm that they are extremely similar, even as far as the chunk alignment rules. I've heard it stands for "Rip-off of IFF" ). Knowledge about specific WebP chunks will be added to the next release.