"cppaddict" <he***@hello.com> wrote in message
news:cg********************************@4ax.com...
Hi,
Is there way to read in a .gif image file as a two-dimensional array
of pixel values? If not in the C++ standard library, does anyone know
of a free library that supports this?
It's not in the C++ standard library which has no graphics capabilities at
all.
I'm not aware of any free libraries that support this. The notorious patent
that was claimed by Unisys over the GIF file format prevented the
development of these. Even if you were to write your own code to do this you
would be breaking the law unless you paid a royalty to Unisys. However that
patent has now expired in the US although it remains in force in other parts
of the world.
Suggest you use PNG instead if possible.
john