imagine
doing any allocation
(the user provides any necessary buffers).imagine
is allowed to allocate for
you. Functions to "just get me the RGBA8 pixels", and things like that.imagine
being allowed to allocate.imagine
is
allowed to allocate.png
and bmp
can both be decoded properly without imagine
allocating. The
"simple" API for doing so is not yet developed. This means that currently you
need quite a bit of knowledge about the details of each format to actually
decode an image. See the demo
example if you want to try and understand how
things work (though the demo
doesn't yet handle all cases either...).0.0.z
for a
reason.There's many places for improvement, file PRs if you like!