Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
146 user(s) are online (82 user(s) are browsing Forums)

Members: 0
Guests: 146

more...

Headlines

 
  Register To Post  

(1) 2 »
New image file format by google based on IFF container
Just popping in
Just popping in


See User information
Google unveiled a new image compression file format :

OS news article

It's based on RIFF container which is IFF with endian format adapted to x86 :

RIFF format on wikipedia

Always cool to see IFF is relevant today.

Classic Amiga 1200, WinUAE, E-UAE, AROS
== iPhone, iPod touch, iPad : Ami Ball 3D /
BoogerZ game
Go to top
Re: New image file format by google based on IFF container
Just can't stay away
Just can't stay away


See User information
@LtPlay49

Welcome !

Interesting !

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: New image file format by google based on IFF container
Amigans Defender
Amigans Defender


See User information
@LtPlay49

If anybody wants to play with it: webpconv (OS4 native version)

I might have a go at creating a DataType later

Go to top
Re: New image file format by google based on IFF container
Just popping in
Just popping in


See User information
@LtPlay49

already an AOS 4 version here.

Go to top
Re: New image file format by google based on IFF container
Just popping in
Just popping in


See User information
@Chris

you were quicker than me

Go to top
Re: New image file format by google based on IFF container
Just can't stay away
Just can't stay away


See User information
@LtPlay49

RIFF != IFF

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.

Go to top
Re: New image file format by google based on IFF container
Home away from home
Home away from home


See User information
@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?

Author of the PortablE programming language.
Go to top
Re: New image file format by google based on IFF container
Amigans Defender
Amigans Defender


See User information
@ChrisH

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.

Go to top
Re: New image file format by google based on IFF container
Amigans Defender
Amigans Defender


See User information
@Chris

Quote:
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

Go to top
Re: New image file format by google based on IFF container
Quite a regular
Quite a regular


See User information
@Chris

Use libvpx 0.9.2 (it's in the upload queue.. 3rd upload since I fixed up my how-to compile guide).

Go to top
Re: New image file format by google based on IFF container
Amigans Defender
Amigans Defender


See User information
@MickJT

I'll update, thanks.

Go to top
Re: New image file format by google based on IFF container
Quite a regular
Quite a regular


See User information
Well. It wouldn't be fair if OS4 had a datatype that OS3 didn't, right?

I compiled libVPX for 68k. Don't ask me how, you don't wanna know!

All I can say is that i've tested it and it works. Decoding side at least.


Edited by MickJT on 2010/10/3 16:19:04
Go to top
Re: New image file format by google based on IFF container
Amigans Defender
Amigans Defender


See User information
@MickJT

Blimey, nice work. I suppose I'll have to figure out what I need to change in my code to build the datatype for OS3 now...

Go to top
Re: New image file format by google based on IFF container
Home away from home
Home away from home


See User information
@LtPlay49

You might be interested to know that AVI files are also in RIFF format.

@salass00

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.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: New image file format by google based on IFF container
Just popping in
Just popping in


See User information
@Hans

so, RIFF means then, 'Robbed IFF" ?
Sorry, couldn't resist.

nexus

Go to top
Re: New image file format by google based on IFF container
Quite a regular
Quite a regular


See User information
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....

Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
Go to top
Re: New image file format by google based on IFF container
Home away from home
Home away from home


See User information
@Deniil

Quote:

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.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: New image file format by google based on IFF container
Quite a regular
Quite a regular


See User information
@Hans

Quote:

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++
Go to top
Re: New image file format by google based on IFF container
Quite a regular
Quite a regular


See User information
libVPX 0.9.5 is up on OS4Depot. It should speed up the decoding. Would be good to see the datatype updated.

I should be able to do a 68k version of libVPX 0.9.5 too. Are you still going to try to make an OS3 datatype, Chris?

Go to top
Re: New image file format by google based on IFF container
Just popping in
Just popping in


See User information
>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.

Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project