Screen2.0

 
 
 

hints & tips // 2007.02.08 08:38:48 [hh]

Filter in PHP: Schärfere Thumbnails dank eigener "Unsharp Mask" Funktion

Thumbnails, die auf dem Web-Server von grossen Bildern generiert werden, erscheinen oftmals unscharf und detailarm. Ein Live-Unsharp-Mask-Filter in PHP kann Abhilfe schaffen.

Autor Torstein Hønsi über sein PHP-Script "Unsharp Mask for PHP": "When creating thumbnails in photo editing programs, it is a good idea to apply some kind of sharpening filter. I created this program to do the same with thumbnails created on the fly in PHP. Among other sites, the script has been implemented in the commercial forum software vBulletin. Feel free to copy it from the field below to use on your own website."

Die Funktion kann live auf der Web-Site getestet werden. Viel Spass beim Testen und Implementieren besserer Previews.

Weitere Informationen: vikjavev.no/ computing/ ump.php

 

Werbung