Resizing images without PHP GD Library -


is there other method resizing images (pixels , kb/mb) , simple tasks without gd library? can't images resized css/jquery ? i'm starting new project , told me use gd this, i'm wondering if there others alternative client/side because don't know gd library , time short project, i'll lose time learn it.

the imagine php library sf easiest i've worked - can use gd, imagick, or gmagick resize/crop images.

<?php $imagine = new imagine\gd\imagine(); $size    = new imagine\image\box(40, 40); $imagine->open('/path/to/large_image.jpg')     ->thumbnail($size, imagine\image\imageinterface::thumbnail_inset)     ->save('/path/to/thumbnail.png'); 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -