Search found 7 matches

by snoke
2014-10-27T18:09:48-07:00
Forum: Users
Topic: how i can do this in Imagemagick command line?
Replies: 13
Views: 5298

Re: how i can do this in Imagemagick command line?

$dst_r = ImageCreateTrueColor(404, 316); imagecopyresampled($dst_r, $img_r, 0, 0, 297, 0, 404, 316, 253, 197); convert input.jpg -resize 404x316 output.jpg convert input.jpg -crop 253x197+297+0 output.jpg http://oi60.tinypic.com/343g215.jpg - result of PHP GD http://oi61.tinypic.com/fjnr6d.jpg ...
by snoke
2014-10-27T15:28:40-07:00
Forum: Users
Topic: how i can do this in Imagemagick command line?
Replies: 13
Views: 5298

Re: how i can do this in Imagemagick command line?

Thanks for helping, but it not working... Objectively, how I can get do this with Imagemagick? $dst_r = ImageCreateTrueColor($targ_w, $targ_h); imagecopyresampled($dst_r,$img_r,0,0,$_POST['x'],$_POST['y'],$targ_w,$targ_h,$_POST['w'],$_POST['h']); ImageCreateTrueColor equal convert input.jpg -resize ...
by snoke
2014-10-27T09:02:27-07:00
Forum: Users
Topic: how i can do this in Imagemagick command line?
Replies: 13
Views: 5298

Re: how i can do this in Imagemagick command line?

Thanks for helping, but it not working: Array ( [x] => 94 [y] => 16 [w] => 409.1139240506329 [h] => 320 ) exec("convert input.jpg-resize '202x158!' -crop {$_POST['w']}x{$_POST['h']}+{$_POST['x']}+{$_POST['y']} output.jpg"); I want get the first image: http://oi60.tinypic.com/5xk0n7.jpg
by snoke
2014-10-27T08:42:24-07:00
Forum: Users
Topic: how i can do this in Imagemagick command line?
Replies: 13
Views: 5298

Re: how i can do this in Imagemagick command line?

I want resize and crop...
by snoke
2014-10-27T07:08:40-07:00
Forum: Users
Topic: how i can do this in Imagemagick command line?
Replies: 13
Views: 5298

Re: how i can do this in Imagemagick command line?

Thanks, but I still can't get what I want. Please check the image: http://oi60.tinypic.com/5xk0n7.jpg I have this jquery script, and I want crop the image using imagemagick. I can do this with PHP GD using this code: $targ_w = 404; $targ_h = 316; $file = 'image.jpg'; $img_r = imagecreatefromjpeg ...
by snoke
2014-10-27T05:09:43-07:00
Forum: Users
Topic: how i can do this in Imagemagick command line?
Replies: 13
Views: 5298

Re: how i can do this in Imagemagick command line?

Sure, but I'm not able to get there.

You can help me? I can send a donation via paypal if you help me.

:)
by snoke
2014-10-26T15:54:07-07:00
Forum: Users
Topic: how i can do this in Imagemagick command line?
Replies: 13
Views: 5298

how i can do this in Imagemagick command line?

Hello I want do this in Imagemagick command line, but I'm not get... $img_r = imagecreatefromjpeg($capa); $dst_r = ImageCreateTrueColor($targ_w, $targ_h); imagecopyresampled($dst_r,$img_r,0,0,$_POST['x'],$_POST['y'],$targ_w,$targ_h,$_POST['w'],$_POST['h']); imagejpeg($dst_r, $capa); Thank you for ...