0) { include('imagemagick_class.php'); $imObj = new ImageMagick($_FILES['image']); if(isset($_POST['verbose']) && $_POST['verbose'] == 1) $imObj -> setVerbose(TRUE); $imObj -> setTargetdir($targetdir); if(isset($_POST['resize']) && $_POST['resize'] == 1) $imObj -> Resize($_POST['resize_x'],$_POST['resize_y'], $_POST['resize_method']); if(isset($_POST['crop']) && $_POST['crop'] == 1) $imObj -> Crop($_POST['crop_x'],$_POST['crop_y'],$_POST['crop_method']); if(isset($_POST['square']) && $_POST['square'] == 1) $imObj -> Square($_POST['square_method']); if(isset($_POST['monochrome']) && $_POST['monochrome'] == 1) $imObj -> Monochrome(); if(isset($_POST['negative']) && $_POST['negative'] == 1) $imObj -> Negative(); if(isset($_POST['flip']) && $_POST['flip'] == 1) $imObj -> Flip($_POST['flip_method']); if(isset($_POST['dither']) && $_POST['dither'] == 1) $imObj -> Dither(); if(isset($_POST['frame']) && $_POST['frame'] == 1) $imObj -> Frame($_POST['frame_width'], $_POST['frame_color']); if(isset($_POST['rotate']) && $_POST['rotate'] == 1) $imObj -> Rotate($_POST['rotate_angle'], $_POST['rotate_bgcolor']); if(isset($_POST['blur']) && $_POST['blur'] == 1) $imObj -> Blur($_POST['blur_radius'],$_POST['blur_sigma']); $imObj -> Convert($_POST['convert']); $filename = $imObj -> Save(); $imObj -> CleanUp(); } ?> Rainbow Roomies image resizer
Rainbow Roomies image processor

Select image:
Resize: > X-size: Y-size: Method:
Crop: > X-size: Y-size: Method:
Square: > Method:
Monochrome: >
Flip: > Method:
Dither: >
Frame: > Framewidth: Framecolor: #
Rotate: > Angle: Background color: #
Blur: > Radius: Sigma:
Convert to:
 
 
Here is your resized picture: