Toon posts:

[php] jpg verkleinen

Pagina: 1
Acties:
  • 55 views sinds 30-01-2008

Verwijderd

Topicstarter
ik ben bezig een upload systeempje te maken, maar de persoon die de foto's gaat uploaden heeft een digitale camera; en produceerd dus foto's van min. 1024x768.
Beetje groot dus :) .

Nou wil ik dmv php de afbeelding(en) verkleinen, en ben heftig op zoek gegaan naar de juiste functie hiervoor (op php.net). Mijn resultaat:

http://www.php.net/manual/en/function.imagecopyresized.php

Jammer alleen dat die link dood is...

Weet iemand hier wel wat meer informatie over te vinden?

Kant en klare scripts wil ik niet, want daar heb ik niks aan. Ik moet gewoon informatie over de functie (als het al de goede is!?). Tnx.

  • D2k
  • Registratie: Januari 2001
  • Laatst online: 31-08 10:19

D2k

link is niet dood?

Doet iets met Cloud (MS/IBM)


  • TheRookie
  • Registratie: December 2001
  • Niet online

TheRookie

Nu met R1200RT

Link dood ?
ImageCopyResized
(PHP 3, PHP 4 >= 4.0.0)

ImageCopyResized -- Copy and resize part of an image
Description
int imagecopyresized ( resource dst_im, resource src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)
ImageCopyResized() copies a rectangular portion of one image to another image. Dst_im is the destination image, src_im is the source image identifier. 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.

See also ImageCopyResampled().
Hier doet ie 't gewoon :?

  • D2k
  • Registratie: Januari 2001
  • Laatst online: 31-08 10:19

D2k

mooi dan kan deze dicht :)

Doet iets met Cloud (MS/IBM)


Dit topic is gesloten.