openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] B44 question


From: Florian Kainz
Subject: Re: [Openexr-devel] B44 question
Date: Tue, 31 Jul 2007 16:56:25 -0700
User-agent: Mozilla Thunderbird 1.0 (X11/20041207)

Hai,

the B44 compression rate is fixed; it does not depend on image content.
If you store the pixels as RGB data, the compression rate for the raw
pixels is 32:14 (approximately 2.28:1).  If you store the pixels as
luminance/chroma data, the compression rate is 32:7 (approximately 4.57:1).
In addition to the pixels, the file contains header data and some padding,
so the overall compression rate will be slightly less.

Since the compression rate is fixed, the easiest way to determine the
size of a file with given dimensions, is to compress one image; other
images will have the same size.

I don't have an exact formula for the size of B44-compressed files,
but if necessary, we can probably work it out.

Florian



Hai Nguyen wrote:
Hi,

I am wondering if there was a formula of some type of find the maximum size of a B44 compressed image give its dimensions? I briefly looked through the header files but I couldn't find what type the final compressed
data is stored in.

Thanks,
- Hai


_______________________________________________
Openexr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/openexr-devel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]