Devam Ediyor

521454 Crop Images to 160x160 square for Profile Pictures

I need a script written on top of ImageMagick's Convert ([url removed, login to view]) that will resize an image to 160x160 and retain the aspect ratio.

1. If its already a square, simply resize to 160x160

2. Too Tall - If you resize the height to 160, then the width is less than 160. You''ll need to crop this properly and resize.

3. Too wide - If you resize the width to 160, then the height is less than 160. You'll need to crop this properly and resize.

I need this all to be done via a script that uses Convert.

I want it to be clear that I'm not just looking for -gravity center -extent 160x160 as this leaves a black background.

Beceriler: Her şey Kabul, Grafik Tasarımı, PHP

Daha fazlasını görün: square graphic design, square design, resize image background, black square graphic design, square, resize images, images to, images resize, image crop, crop, crop php, php resize crop, convert imagemagick php, image crop php, php convert resize, resize image 160x160, 160 width, crop pictures 160x160, resize image crop, script crop php, php image crop script, profile pictures, resize images php, image profile script php, image resize crop center

İşveren Hakkında:
( 19 değerlendirme ) Bellevue, United States

Proje NO: #2267392

Seçilen:

tzoltan

As discussed in PM

0 gün içinde 20$ USD
(0 Değerlendirme)
0.0