Add ability to retreive an image from a state variable
Although you could easily create a new image using a state buffer, you could not retreive that image without storing the pointer into another state buffer. This adds a function named icetRetrieveStateImage to get a previously allocated image. This simplfies the code some.
Showing with 19 additions and 39 deletions