[ask] php image manipulation

Discussion in 'PHP' started by sumarjan, Jan 28, 2012.

  1. #1
    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???
     
    sumarjan, Jan 28, 2012 IP
  2. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #2
    Alex Roxon, Jan 28, 2012 IP
  3. sumarjan

    sumarjan Active Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    @alex : can you modify my php code??
     
    sumarjan, Jan 28, 2012 IP
  4. SingaHost

    SingaHost Guest

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    have u tried plupload or swfupload? its easier to manipulate images.
     
    SingaHost, Feb 6, 2012 IP