Skip to content

rasouliali/TiffViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiffViewer

TiffViewer For ie, chrome and firefox browser

ie by default show the tiff files, so this code for recognize ie browser(true means ie and false means others):

function msieversion()// this function for recognize ie from other browser

{
var ua = window.navigator.userAgent;//inner commands

var msie = ua.indexOf("MSIE ");  

if (msie > 0) // If Internet Explorer, return version number  

{

	return true;
	
    //alert(parseInt(ua.substring(msie + 5, ua.indexOf(".", msie))));

}  

else  // If another browser, return 0  

{  

	return false;  
	
    //alert('otherbrowser');  

}  

return false;

}

for load tiff in firefox and chrome used codes from bottom links: https://github.com/seikichi/tiff.js/tree/master

this project is html demo. download this project then extract and run "tiff All Browser.html" file and test it. it is work... online Demo

About

TiffViewer For ie, chrome and firefox browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages