Alle berekeningen heb ik al gedaan. maar nu wil ik dit:
het orginele plaatje wijzigen in het nieuwe plaatje en wegschrijven. dat wegschrijven weet ik al welke functie dat is: imagejpeg($image, $target); waarbij image het bewerkte (verkleinde) fototje is.
dst_im = doel van het plaatje
src_im = bron van het plaatje
dstX = geen idee :S
dstY = geen idee :S
srcX = geen idee :S
srcY = geen idee :S
dstW = doel breedte?
dstH = doel hoogte?
srcW = bron breedte?
srcH = bron hoogte?
If the source and destination coordinates and width and heights differ, appropriate stretching or shrinking of the image fragment will be performed. The coordinates refer to the upper left corner. This function can be used to copy regions within the same image (if dst_im is the same as src_im) but if the regions overlap the results will be unpredictable.
Moet ik hier uit opmaken dat ik gewoon bij dat xy gebeuren 0,0,0,0 in kan vullen?