WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   php->imagecopyresized (http://www.wcm.at/forum/showthread.php?t=38932)

The_Beax 09.12.2001 12:39

php->imagecopyresized
 
Hallo Leute!

Ich will ein PHP Script schreiben welches mir automatisch Thumbnails aus unterschiedlich großen Bildern erstellt. Jetzt will das alle gleich breit sind aber sie müssen nicht gleich lang sein. Sonst würden sie verzerrt sein und das will ich nicht. Wie kann ich das machen ohne selbst ein script zu schreiben welches das ausrechnet?

MfG
Martin

Sesa_Mina 09.12.2001 13:08

selbst ausrechnen.. is ja ned so schwer :)


faktor = breite / länge

neue_länge = fixe_breite / faktor


nix aufregendes da :)

The_Beax 09.12.2001 13:24

danke


Alle Zeitangaben in WEZ +2. Es ist jetzt 04:17 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag