i have some several code <?php $contents= file_get_contents(''http://somurlimage.com/image.jpg''); $savefile = fopen(''.$upload_dir['path'].'/'.$jeneng_gambar.'_'.$i.'_'.$randangka.'.jpg', 'w+'); fwrite($savefile, $contents); fclose($savefile); ?> i want to make image manipulation such as resize image, and make a change about RGB color can anyone suggest me a php code modification???
Once you've saved it locally, you can make changes quite easily. You may want to read up a bit on PHP's Image GD library (for instance, to resize an image, see this page: http://php.net/manual/en/function.imagecopyresampled.php).