好的,我試圖將此水印設置爲全寬和高,以便填充圖像,但出於某種原因,它只能以原始大小彈出。 所以基本上代替拉伸水印,以適應圖像,不只是放在圖像中間的水印... function watermark($sourcefile, $watermarkfile) {
#
# $sourcefile = Filename of the picture to be watermarked.
我想everythung,我能找到。 我安裝了完整的GD和我的PHP信息顯示此 GD Support enabled
GD Version bundled (2.1.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.11
GIF Read Support e