Skip to content

AJCrowley/ImageInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ImageInfo.js

A handy helper object to get image info.

Requires jQuery

Usage:

$.when(ImageInfo("file.png")).then
(
	function(e)
	{
		console.debug("Image is " + e.height + "px by " + e.width + "px");
	},
	function(err)
	{
		throw("FATAL: Could not load image");
	}
);

About

A handy helper object to get image info.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published