Discussion:
[Openexr-user] exrmaketiled error
Martin Breidt
2008-04-10 13:57:34 UTC
Permalink
Hello again!

While trying to convert a 20k * 20k EXR into a tiled one:

exrmaketiled.exe -m -v test.exr test_tiled.exr

I get this error message on Windows:

reading file test.exr
bad allocation

Same when using the -r or -o option.

Seems as if the file is too big for exrmaketiled?

Does anyone know some alternative software I could use to produce a
tiled EXR?

Thanks!
Martin
Florian Kainz
2008-04-10 21:18:52 UTC
Permalink
Hi Martin,

exrmaketiled attempts to read the entire input image at once; the
program is not smart enough to process the image incrementally.

The highest-resolution level of a 20k by 20k 16-bit RGB image
requires about 2.4 GBytes of memory. The lower-resolution levels
of a mip-mapped image consume another 0.8 GBytes. To process a
20k by 2k image with exrmaketiled you'll need a computer with
at least 3.5 GBytes of RAM, and you'll probably have to build
the program in in 64-bit mode.

Florian
Post by Martin Breidt
Hello again!
exrmaketiled.exe -m -v test.exr test_tiled.exr
reading file test.exr
bad allocation
Same when using the -r or -o option.
Seems as if the file is too big for exrmaketiled?
Does anyone know some alternative software I could use to produce a
tiled EXR?
Thanks!
Martin
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
gary
2008-04-10 21:33:13 UTC
Permalink
I'm trying to compile openexr on suse10.2 64 bit. The configure appears
to work, but I get this error doing "make".
---------------


suse:/usr/local/src/openexr/openexr-1.6.1 # make
Making all in config
make[1]: Entering directory `/usr/local/src/openexr/openexr-1.6.1/config'
make all-am
make[2]: Entering directory `/usr/local/src/openexr/openexr-1.6.1/config'
make[2]: Leaving directory `/usr/local/src/openexr/openexr-1.6.1/config'
make[1]: Leaving directory `/usr/local/src/openexr/openexr-1.6.1/config'
Making all in IlmImf
make[1]: Entering directory `/usr/local/src/openexr/openexr-1.6.1/IlmImf'
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -pthread
-I/usr/local/include/OpenEXR -I.. -I../config -pipe -g -O2 -MT
b44ExpLogTable.o -MD -MP -MF ".deps/b44ExpLogTable.Tpo" -c -o
b44ExpLogTable.o b44ExpLogTable.cpp; \
then mv -f ".deps/b44ExpLogTable.Tpo"
".deps/b44ExpLogTable.Po"; else rm -f ".deps/b44ExpLogTable.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -o
b44ExpLogTable b44ExpLogTable.o -L/usr/local/lib -pthread
-L/usr/local/lib -lImath -lHalf -lIex -lIlmThread
mkdir .libs
g++ -pipe -g -O2 -o b44ExpLogTable b44ExpLogTable.o -L/usr/local/lib
-pthread /usr/local/lib/libImath.so /usr/local/lib/libHalf.so
/usr/local/lib/libIlmThread.so /usr/local/lib/libIex.so
./b44ExpLogTable > b44ExpLogTable.h
./b44ExpLogTable: error while loading shared libraries: libImath.so.6:
cannot open shared object file: No such file or directory
make[1]: *** [b44ExpLogTable.h] Error 127
make[1]: Leaving directory `/usr/local/src/openexr/openexr-1.6.1/IlmImf'
make: *** [all-recursive] Error 1
suse:/usr/local/src/openexr/openexr-1.6.1 #

Loading...