About imagecopyresampled()


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

I am looking to use this function to resize parts of an image to a fixed thumbnail size. I have used this functions many times, but I am trying to become more advanced as time pass by.

I have been looking on the web, however, I cannot find out what these four arguments control. I was hoping somebody knows.

I was hoping someone could give me an answer:

$src_x
x-coordinate of source point.

$src_y
y-coordinate of source point.

$dst_w
Destination width.

$dst_h
Destination height

No comments posted yet

Your Answer:

Login to answer
246 Like 52 Dislike
Previous forums Next forums
Other forums

Async WSAConnect failed on XP with error code = 2 ("File not found")
Hi all,

I have very strange bug, please help me if you can.

It is reproduced o

header redirect problems? please help
Ok i am making a site that generates youtube thumbnails and i am generating an image that displays 1

making web pages for accounts
Hello, I would like to make pages for accounts on my website im making (its not a real website..im j

Line break?
Hi, I'm new to the forum and new to php. I'm not sure if I'm using the correct terminology so here i

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

Display the user's weight lost in the past week
Hello everyone,

I am working on a weight loss app for my site, and I want to display the user

How To Make More Than One Redirection with PHP on the same page?
Hey im trying to do a direction page where it open differently link direction pages every time som

Handling text changed in text box control using Ajax
I need to create a web form with a text box control. When someone types text into the textbox I nee

Do While statement
hi guys,

This may sound trivial but im new to php and as part of an assignmenti have to const

Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code bel

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash