Ditutup

Need some help

Hi everyone,

I'm just hoping someone can help me with a few code lines here. Will not pay but you can get a 10 in rating for helping me out. I want to create a new image from an already uploaded one. The original image is 396*306pixels and the new one I want to create is 186*306. The new image should start 210 pixels from the left border of the original image (the new image is only a part of the original image).

This should be possible to do in just 3 or 4 lines of codes right?

Something like this (but this is not working):

//original image

$im = imagecreatefromjpeg("../object_images/".$myUploadobj->file_name);

$im2= imagecreatetruecolor(100,100);

//The new image

$im3 = imagejpeg($im2,"../object_images/thumbs/".$myUploadobj->file_name);

imagecopy($im3,$im,200,150,45,0,396,100);

Kemahiran: PHP

Lihat lebih lanjut: someone one, one someone, some help, need codes, border, 100 lines code, image thumbs, thumbs image, need code help, need uploaded, can help, im2, need someone help, 186, lines code, need 150, create image border, code help, create border image, image rating php, create php codes, thumbs rating php, php thumbs rating, php image rating, want help

Tentang Majikan:
( 34 ulasan ) Stockholm, Sweden

ID Projek: #293786

3 pekerja bebas membida secara purata $95 untuk pekerjaan ini

momleetech

we can do it

$30 USD dalam 0 hari
(104 Ulasan)
6.7
Pektsekye

$img = imagecreatetruecolor(186,306); $org_img = imagecreatefromjpeg("[url removed, login to view]"); imagecopy($img,$org_img, 0, 0, 210, 0, 396, 306); imagejpeg($img,"[url removed, login to view]"); imagedestroy( Lagi

$30 USD dalam sehari
(107 Ulasan)
5.6
semosoft123

We have gone through the information that you have provided and understand your requirements very well. We have excellent expertise in PHP5, MYSQL, DRUPAL, JOOMLA, HTML, CSS, AJAX, JAVA, J2ME, JSP, SEO, SEM, [url removed, login to view], V Lagi

$225 USD dalam 10 hari
(0 Ulasan)
0.0