tiff support

imagick has tiff support therefore I've extended the Encoder to support Tiff.

The error occurred when i was using the cache extension.