avalanche123/Imagine — pull request #164 by romainneutron (2012-11-28 00:37:45+00:00)
Title: Add layers support

Hello Bulat,

this PR proposes a support for layers. It is quite useful when you want to extract all images of an animated gif, or all layers of a photoshop file.

I've choosen to implement the `\Countable` interface to count the number of frame/layer an image contains.

GD does not support layers.

Please give me feedback about the public API (Iv'e choosen *layer* over *frame*, what do you think about it ?). As soon as you validate it, I will add documentation so the PR will be mergeable :)

Romain