Add API for extracting image size from a file
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 12 Jan 2009 16:52:20 +0000 (16:52 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 12 Jan 2009 16:52:20 +0000 (16:52 +0000)
commit1c114be31a50410c1b2d0621848250102b6dd166
treedadc440fb7ff442eaf85830e54e8e513fa73ad3a
parent946c075a2aca2fdc7e63ddb90c72e65f3a9fee30
Add API for extracting image size from a file

For the asynchronous loading we need a function call that parses
a file, given its path, and retrieves the image width and height.

This commit adds cogl_bitmap_get_size_from_file() to the CoglBitmap
API.
clutter/cogl/cogl-texture.h
clutter/cogl/common/cogl-bitmap-pixbuf.c
clutter/cogl/common/cogl-bitmap.c
clutter/cogl/common/cogl-bitmap.h