Skip to content

akkara/MonoJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonoJS

Monolize images with two colors via canvas element

$("img").mono({
    // Main color for lighten colors  
    color : '#ffffff',  
    // Second color for darken colors  
    black : '#000000',  
    // Max width/height for speed process:  
    // Image natural sizes will be kept  
    // But new image datas will be fitted as  
    bounce : 700,  
    // Fade in speed:  
    speed : 1000,  
    // Hide images on failer  
    hide : false  
},function(images,error){  
    // Callback function  
}) ;

Visit Demo Page

About

Monolize images with two colors via canvas element

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published