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

Mysql query, two times?
Hello to all,

I'm new to php coding and i like it alot. I need help with some noob stuff.

Escape Latin Characters
I need to escape latin characters in an xml doc. Example: "é" is escaped to "é". I thoug

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

quick question
Hi ..

i have a question
how do i set a var so it displays via an echo
Code: $logo = '&a

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

"GROUP BY" in arrays
Well i'm looking to do something i usually could do easily using COUNT and GROUP BY if it was a sql

Developing Ajax-enabled ASP.Net applications for the iPhone
I would like to develop Ajax web applications using Visual Studio that are optimized for the iPhone.

Help with explandable category tree
I have the below query:

SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.categ

Server side $_SESSION
how does one keep the session completely server side. no cookies to the browser at all. i need this

PDO returns erroneous columns from within pdt
Hi All,

This is a truly weird behavior:
When using a simple pdo fetch, erroneous columns a

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