Skip to content

A small setup to demonstrate and test the usage of mhe/imagetools

License

Notifications You must be signed in to change notification settings

martinheise/imagetools-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Image Tools per CLI

This is a small setup to demonstrate and test the usage of mhe/imagetools module.

php resize-image.php -i <inputfile> -s <"sizes"> -m <mode>

e.g.

php resize-image.php -i testimage.jpg -s "(max-width: 700px) 100vw, 680px" -m IM

The two classes GDImageData and IMImageData show a very basic implementation of the ImageData interface using local files, without any caching etc.

The generated image renditions are written to subfolder _resample.

This is a just quick and dirty CLI script – Not meant for productive use.

About

A small setup to demonstrate and test the usage of mhe/imagetools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages