Changeset 673597
- Timestamp:
- 02/26/2013 02:49:00 PM (13 years ago)
- File:
-
- 1 edited
-
hotlink2watermark/trunk/h2w_target.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hotlink2watermark/trunk/h2w_target.php
r673555 r673597 85 85 $watermark = ImageCreateTrueColor($wm_w, $wm_h); 86 86 $transparent = imagecolortransparent($watermark); 87 $tcolor = $h2w ::hex2rgb($h2w_textcolor);88 $scolor = $h2w ::hex2rgb($h2w_shadowcolor);87 $tcolor = $h2w->hex2rgb($h2w_textcolor); 88 $scolor = $h2w->hex2rgb($h2w_shadowcolor); 89 89 $textcolor = imagecolorallocatealpha( $watermark, $tcolor[0], $tcolor[1], $tcolor[2], 127 * (100 - $h2w_opacity) / 100 ); 90 90 $shadowcolor = imagecolorallocatealpha( $watermark, $scolor[0], $scolor[1], $scolor[2], 127 * (100 - $h2w_opacity) / 100 );
Note: See TracChangeset
for help on using the changeset viewer.