vluzrmos/tiffinfo

Simple php wrapper for tiffinfo

dev-master 2016-02-17 18:15 UTC

README

This is a simple LibTIFF wrapper.

Installation

composer install vluzrmos/tiffinfo

Usage

<?php
	$tiff = new Vluzrmos\TIFFInfo\TIFFInfo('/path/to/tiff/file.tiff');

	$tiff->totalPages(); // count pages on tiff
	$tiff->info(); // get an array of all info about the tiff
	$tiff->pages(); // get an array of all info about every page
	$tiff->page(0); // get an array of all info about page 0
?>