Changed to use TIFFFrame