what it did was this
http://d.pr/X5Vy
Search found 6 matches
- 2011-04-18T20:28:35-07:00
- Forum: Users
- Topic: Crop from About 20% of the Way Down
- Replies: 14
- Views: 21077
- 2011-04-18T20:16:57-07:00
- Forum: Users
- Topic: Crop from About 20% of the Way Down
- Replies: 14
- Views: 21077
Re: Crop from About 20% of the Way Down
gotcha.
// Resize using ImageMagick executable
function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
$cmd = ime_im_cli_command();
if (empty($cmd))
return false;
$old_file = addslashes($old_file);
$new_file = addslashes($new_file);
$cmd = "\"$cmd\" -limit memory 150mb ...
// Resize using ImageMagick executable
function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
$cmd = ime_im_cli_command();
if (empty($cmd))
return false;
$old_file = addslashes($old_file);
$new_file = addslashes($new_file);
$cmd = "\"$cmd\" -limit memory 150mb ...
- 2011-04-18T19:25:14-07:00
- Forum: Users
- Topic: Crop from About 20% of the Way Down
- Replies: 14
- Views: 21077
Re: Crop from About 20% of the Way Down
i have no idea what you guys are saying, but i'll have someone look at this thread and find out how to translate what was said into modifying the script to do what i want it to do
- 2011-04-18T13:55:00-07:00
- Forum: Users
- Topic: Crop from About 20% of the Way Down
- Replies: 14
- Views: 21077
Re: Crop from About 20% of the Way Down
the problem is that the width and heights are not the same throughout the site. this is a script that regenerates thumbnails throughout my website
- 2011-04-18T13:10:30-07:00
- Forum: Users
- Topic: Crop from About 20% of the Way Down
- Replies: 14
- Views: 21077
Re: Crop from About 20% of the Way Down
thanks bro
so
// Resize using ImageMagick executable
function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
$cmd = ime_im_cli_command();
if (empty($cmd))
return false;
$old_file = addslashes($old_file);
$new_file = addslashes($new_file);
$cmd = "\"$cmd\" -limit memory ...
so
// Resize using ImageMagick executable
function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
$cmd = ime_im_cli_command();
if (empty($cmd))
return false;
$old_file = addslashes($old_file);
$new_file = addslashes($new_file);
$cmd = "\"$cmd\" -limit memory ...
- 2011-04-17T22:11:20-07:00
- Forum: Users
- Topic: Crop from About 20% of the Way Down
- Replies: 14
- Views: 21077
Crop from About 20% of the Way Down
What if I wanted ImageMagick to crop from about 20% of the way down and not the center or top?
What would I put here?
// Resize using ImageMagick executable
function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
$cmd = ime_im_cli_command();
if (empty($cmd))
return false ...
What would I put here?
// Resize using ImageMagick executable
function ime_im_cli_resize($old_file, $new_file, $width, $height, $crop) {
$cmd = ime_im_cli_command();
if (empty($cmd))
return false ...