hyffmpeg fontfile appapp.解释一下

谁能帮我解释一下这个PHP代码的意思_百度知道
谁能帮我解释一下这个PHP代码的意思
], $result )!strpos($referer,0;exit();r.preg_quote('];'$ys1=ImageColorAllocate($im?php$referer=$_SERVER[&#39,255,224);,255),$str,$username.&#39,14;3&#39,$ys3.&#47,12,$fontfile.$qq),12,'ImageTTFText($im,96?&fonts&#47,$referer),255);'}function getQQName($qq){ if (,14;ImageDestroy($im).$qq);$username = getQQName($qq););;';ImageTTFText($);HTTP_REFERER'&quot、&#39,0.cgi_personal_$ys3=ImageColorAllocate($ return $result[1];)!$username) {
$username = getQQNick($qq);.preg_quote('Lbj.ttf&/;$im=imagecreatefrompng($image);'header(&quot,48; exit();i'},0,12,0; $pattern = '/'cgi-bin/&#39,&#39,&#39,0,0; } return $username,$fontfile,&#39,$ys1;if(;$image=&quot.png&quot,12.qzone,'user/$ys4=ImageColorAllocate($),12,12: moren,$ys2,$fontfile,255;;),255,255;,255;)){ header(' preg_match ( $pattern,192);$ys2=ImageColorAllocate($Imagegif($im);,$,255;infocenter',5,0;$ys5=ImageColorAllocate($im,0;$qq=$urlArr[&#39,255;ImageTTFText($im,$fontfile,39,''/),14,255),0;/).png&#39.&#39,'&#39.: image&#47.*,0;偷拍者查看到他的QQ号码为&#39,14,$ys5.'昨天晚上在网吧被人偷拍;nickname&);}$urlArr = explode(&#39?uin=&#39,50;png&function getQQNick($qq){ $str = file_get_contents(&#39.com&#47,0;&#47,$&?)&#39,255);';$fontfile = &quot,'(;;$ys6=ImageColorAllocate($);Content-type,&#39:&ImageTTFText($im,88,$ys6;ImageTTFText($im,0,$ys4,255;ImageTTFText($。拜谢&lt最好把带参数的参数是代表什么标一下
提问者采纳
getQQNick($qq){ $str&nbsp,$ys5;//" target="_blank">$ys5=ImageColorAllocate($$ys4=ImageColorAllocate($//数组指针3刚好是qq号$username&(;=&nbsp,';//字体文件header(&)){ header(&#39,255;).'getQQName($qq);ImageTTFText($ImageDestroy($im):&nbsp,&#39,&#39.',255).preg_quote(';偷拍者查看到他的QQ号码为'getQQName($qq){ if&$ys2=ImageColorAllocate($//输出图片$image=&),12;//用/拆分url& preg_match&nbsp!strpos($referer,$ys6; } return&实例;bj,12.ttf&quot,$username,255);//调用函数获取qq昵称$/10000/infocenter&nbsp,$&=&//某个qq个人中心的网址$qq=$urlArr['nickname&quot,&#39,5;}function&nbsp,$ys4;):&ImageTTFText($im./fonts///图片名称/***&nbsp?&;/&#39,'),$str,255.qzone,12,$};exit();Content-type,&nbsp,88;),50,255,$//获取qq昵称的函数function&nbsp:&nbsp,0;&#39,0;),255,&#39://user?uin='$result&);getQQNick($qq).png&quot?php$referer=$_SERVER['infocenter&#/10000/infocenter&,255),96;;&#39,224),14;3'&#39,12,192);'/i&#39,255;;file_get_contents('&#39,'}$urlArr&L),0;=&/&#39.$qq)&=&nbsp,14,255;ImageTTFText($ $pattern&nbsp.png这个图片 exit();//网页访问着的来路urlif(;$pattern.png&#39,'HTTP_REFERER'$result[1];),$fontfile.;'这够详细了吧;(&nbsp,$;一下语句是创建一个图片*/$im=imagecreatefrompng($image);,0,14.explode('/&#39,0;$ys6=ImageColorAllocate($r.$qq);$],14;;ImageTTFText($;&、'image/png&quot,255,0,255).'Imagegif($im);(;,12,0,$ys3.*;//如果来路的url不包含infocenter将跳转到ImageTTFText($im,${
$username&nbsp,0;$ys3=ImageColorAllocate($=&nbsp,12;),39;昨天晚上在网吧被人偷拍!$username)&<a href="http,0,0:&quot,0,48;/&#39,0,255,$referer);$ys1=ImageColorAllocate($];ImageTTFText($=& return&nbsp,&#39?)&#39.com/cgi-bin/user/cgi_personal_,$ys1.preg_quote(&#39,$ys2.&quot://user
我想再加一个头像、可是头像不是文本水印。怎么加啊
imagecreatefrompng 用这个函数
提问者评价
其他类似问题
为您推荐:
php的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁求大神解释一下下面的代码啥意思??尤其是#container:hover div.upper 代表啥意思?_百度知道
求大神解释一下下面的代码啥意思??尤其是#container:hover div.upper 代表啥意思?
width.lower {
-moz-transform#container div: rotateY(0): rotateY(0);
-webkit-transform.upper img {
-moz-}#container:hover div:1px solid #fff.upper {
-webkit-transform:hover div: rotateY(180deg):242px: rotateY(180deg);}#container
提问者采纳
推动祖国强大才是惩罚日本的核心所在;&#47: rotateY(0);&lt:#b1b1b1;&
background, color-stop(100%.upper img {
-moz-backface-CSS3-3D旋转&
-moz-backface-visibility,边框1px:50
-webkit-transform-style:img src=&&gt.5s ease-in-container&quot:235&#47, #463)):hover div,白色实心线# color: verdana, #463 100%):362/The Barn Owl&style&gt:left: 800div&gt:220px:#202020.jpg" target="_blank">
-ms-border- margin: -webkit-gradient(}#
-moz-transform-style: 322&* Firefox浏览器 */  -moz-font-
-webkit-backface-visibility: rotate(40deg);&gt,所以用下面的hack去提高渲染效率:40
-moz-&#47.codefans.lower {font-family:#eee, sans-serif: rotate(40deg);
-ms-transition:
&/&title&gt, #642 100%);} 鼠标移动到id为container的容器范围内时;p&gt.net/jscss/demoimg/201208/
border-/div&gt, from(#463);title&gt: 1;
-webkit- line-
&list-p&div id=&quot。&lt.net/jscss/demoimg/201208/}#container div {
-moz-border-text&#47,而是奋发自强: 5/}#container div, #a86);
*3d场景*&#47,用div嵌套来显示3D翻转效果的:0, from(#642):0:a&&#47, arial:0;
&由于目前几乎所有的浏览器对这个属性的渲染效率都很低;head&gt: rotateY(0);&Barn owl&&p&  -webkit-transform.upper {
-moz-transform-
-moz-transform: rotateY(-180deg);*{a href=& }#container div://www: preserve-3d;en-US&
-webkit-backface-Wikipedia&lt: rotateY(180deg), color-stop(50%; height, #642));css&quot:11px: line-height:20 width,通过transform属性使对象旋转的写法如下;&/body&&
transition:10px 0 0 10px.jpg&quot.upper {
-webkit-transform:宽度242* 其中40是旋转的角度 */UTF-8&
background.codefans: 282&lt: rotateY(180deg): rotateY(-180deg)://body&gt: 5 &#47: relative:#fff: 1:/&gt:#642;& padding:0, color-stop(100%:0: preserve-3d。所以各位要在自己的岗位上负责任的干好本职工作;}body{background:pointer:242style type=&quot: 1;&lt,可以用滤镜来实现这样的效果; &#47,技术领先才行;color: rotate(40deg);}#
-moz-perspective.lower 鼠标移动到id为container的容器范围内时;/h1&
&lt:absolute,具体可以去百度一下代码给你一段代码你存成html: 1, 100% 100%:20/lower&quot: -moz-linear-gradient(-45upper&quot:*抖动*&#47。#container div,内部class为upper的div子容器的img标签属性为:242px, color-stop(50%;<a href="
& color!DOCTYPE HTML&div&gt.lower {
-moz-meta charset=&}#container。&}#container {p&/* Webkit内核浏览器 */目前到IE9为止还不支持css3;cursor:
-webkit-}&
-webkit-&Source &lt: rotate(40deg): 800
&head&gt:& padding?所以不是抵制日货,在chrome或firefox下看看效果就明白了.upper img {border, #8a7 50%;* Opera浏览器 */;}#container div.5s ease-in-out,但影像产品不买日本的还可以买哪里的;float: preserve-3d:Arial.5s ease-in- /}#container div.lower a {汽车可以不买日货;&lt.lower h1 {font-h1&html lang=&quot:  -o-transform.5s ease-in-&#47: 0
&lt.lower p {font-size: -webkit-gradient(}#container div: preserve-3d;font-size, #642:div class=&&&lt:20px:#ff0:1px solid #fff:1px solid #padding这是css3的样式表代码;
-webkit-transform-html& margin:0.5s ease-in-out: 1;div class=&quot:0px, 100% 100%: -moz-linear-gradient(-45deg:242px: 5
-webkit-border-& background:125%;
-webkit- height, 0 0:0,内部嵌套的class为lower的div子容器在W3C官方的标准里;&gt, 0 0;/}li{position, #864 50%; top, #8a7); &#47:#463, #463
提问者评价
谢谢你帮我大忙了
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁JS 问题 下面的代码能不能请高手们帮我解释一下啊?_百度知道
JS 问题 下面的代码能不能请高手们帮我解释一下啊?
frmCa id=&;特别是符号&quot.join(& style=&javascript:12px.appName.toLowerCase().value = eventT&#39.indexOf(&}else {theform =javascript&quot,谢谢啊;&gt.&script&gt, eventArgument) {var theform.submit().forms[&quot?;2;退出&lt.value = eventArgument.__EVENTARGUMENT;function __doPostBack(eventT].&&&#47.split(&) &);$&quot.__EVENTTARGET;$&)&;if (window:__doPostBack(&#39. type=&每句都解释清楚啊;HeadStyle1$lkbStatus&#39;javascript&HeadStyle1_lkbStatus& href=&&#47;a&gt,&#39:&frmCart&}font-text&#47;microsoft&}&script language=&quot1;&theform?高手 每一句的意思都要解释清楚啊; -1) {theform =)
input type=&#39;/function&&#47.join(& name=&#39!--
function __doPostBack_Ex(eventT));&));__EVENTTARGET&#39;script language=&quot.value = eventArgument,代码如下;javascript&$&quot.__EVENTTARGET;
}}/&#47.submit();), eventArgument)
__doPostBack_Ex(eventTarget.split(&
theform = document.appendChild(document!theform.appName.onsubmit) == &))
if(theform!theform:&quot.value = eventTnetscape&
function __doPostBack(eventT -1) {
theform = name=&#39.__EVENTARGUMENT)
script&gt.appendChild(input type=&#39;
theform!=false)
补充你一个正确的代码.__EVENTARGUMENT.submit();
if (;&gt.forms[0];
if ((typeof(&
if(;hidden&#39;&quot,自己测试一下.__EVENTTARGET)
).indexOf(&
&lt, eventArgument);__EVENTARGUMENT&#39;&gt.forms[0], eventArgument)
{&lt.createElement(&) &gt:&hidden&#39; --&gt.createElement(&.toLowerCase();
if(.navigator.onsubmit()
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁帮忙解释一下opencv代码,看不懂,希望每句都解释一下,谢谢啦!_百度知道
帮忙解释一下opencv代码,看不懂,希望每句都解释一下,谢谢啦!
IplImage *curimg=cvCreateImage(
CvFont font, 1 );
if( nFrmNum==10 )
cvReleaseImage( &buf), 1 ),CV_FONT_HERSHEY_DUPLEX ;&#47.6f.height & -2)&#47, 1 ),也就是认为10帧以后是正常的*&#47; 时间戳
IplImage* imgpyr = cvCreateImage( cvSize((size.width & -2)&#47void
CBgCutSystemDlg,0, IPL_DEPTH_8U;height);
double timestep = clock()&#47;
cvInitFont(&
buf = cvCreateImage(
IplImage* tmp_s=cvCreateImage( size,2,img-&gt,0.6f,因为前面的帧有可能不是背景是黑色的这样更保险;2), 8,*先进行数据的初始化;
} else if(nFrmNum&gt,0;
CvSeq *tmp_cont, (2, IPL_DEPTH_8U;
CvMemStorage *stor=NULL; &#47:DetectObject( IplImage* img)
CvSize size = cvSize(img-&100, IPL_DEPTH_8U, 1 );
cvZero( buf ):, CV_BGR2GRAY );
cvCvtColor( img,取第10帧,CV_AA);width
提问者采纳
重新定义buf为单通道的图像
cvZero( buf );/
&#47,0;&#47.height & -2)&#47.;
///将传递的图像信息传递给获取参数img的图像宽高
CvMemStorage *stor=NULL,不知道在哪里定义的; 定义时间戳
IplImage* imgpyr = cvCreateImage( cvSize(( / &#47, 8;创建单通道的8位图像 IplImage *curimg=cvCreateImage( size, (size:, 1 ),2这些代码都解释的这么好了;创建内存空间的指针 IplImage* tmp_s=cvCreateImage(///&#47,也就是认为10帧以后是正常的*&#47,因为前面的帧有可能不是背景是黑色的这样更保险;
/&#47:DetectObject( IplImage* img)
cvInitFont(&font。void
CBgCutSystemD释放图像
buf = cvCreateImage( size,CV_AA);height), 1 ), CV_BGR2GRAY );对话框的检测目标的函数{
CvSize size = cvSize(img-& &#47,这里才知道img是3通道的彩色图像
} else if(nFrmNum&/创建单通道的8位图像
CvSeq *tmp_如果超过了10帧做什么处理;*先进行数据的初始化,0;2;
/ /创建序列的指针 double timestep = clock()&#47.width & -2)/ /&#47,是降采样的金字塔图像
CvF/buf应该是缓存的图像.6f,CV_FONT_HERSHEY_DUPLEX ;10) {/ /创建imgpyr的图像指针, IPL_DEPTH_8U.6f,应该是全局的图像指针
cvReleaseImage(
&buf);&#47, 1 ),img-&清空图像缓存
cvCvtColor( img, 1 ),为什么还需要解释呢, IPL_DEPTH_8U, IPL_DEPTH_8U;/
if( nFrmNum==10 )
if (buf)&#47,取第10帧;
提问者评价
谢谢你!解释的非常好!
来自团队:
其他类似问题
为您推荐:
opencv的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁我是java初学者,请帮忙对下面的类内容每一行进行解释一下 急_百度知道
我是java初学者,请帮忙对下面的类内容每一行进行解释一下 急
setSize(608.add(pictureJLabel);button=new JButton(); public class Welcome_b extends JFrame{
private JLabel textJL
app.LEFT).swing.exit(0);
textJLabel.setText(&quot.setText(&quot,250),370.setBackground(C button,200;
setTitle(& textfield.setHorizontalAlignment(JL
pictureJLabel,36)),88).add(textfield);
private JLabel pictureJL
pictureJLabel.*;
contentPane.setBounds(200.setDefaultCloseOperation(JFrame.add(textJLabel).setBounds(54.setLayout(null),F contentPimport javax,200.CENTER);
public Welcome_b(){
createUserInterface();textfield=new JTextField();
public static void main(String[] args) {
Welcome_b app=new Welcome_b();
contentP);); button.*;
contentPane,120,40).setHorizontalAlignment(JLabel.add(button).setIcon(new ImageIcon(&quot.*;
textJL),415;textJLabel=new JLabel(),40);Shenzhen Institute of Information and Technology&quot.EXIT_ON_CLOSE).setEditable(true),513).awt.addActionListener(
new ActionListener()
public void actionPerformed(ActionEvent event)
buttonActionPerformed(event);
private void buttonActionPerformed(ActionEvent event)
textJLWelcome to Shenzhen Technology&quot.setHorizontalAlignment(JTextField.setFont(new Font(&
textJLabel.YELLOW),0).setSize(550;SanSerif&
private JTextField textfield.setText(&
pictureJLabel=new JLabel().CENTER);
setVisible(true),500; textfield.PLAIN;Press Any Key to Exit&quot.setLocation(35; contentPane.gif&Welcome&
private JB
private void createUserInterface(){
Container contentPane=getContentPane().setBounds(200.awt
&#47;&#47;&#47;构造函数 public MyFrame() {
&#47;得到内容容器
Container ctPane=getContentPane();&#47;声明一个ChessPanel对象 JPanel myPanel=new ChessPanel();得到画笔
Graphics g=getGraphics();Tube&#39;&#47,
我的要求是
类似于 ,737);&#47;设置宽度和高度
setBounds(0;
&#47;s Chinese Chess& &#47;
&#47,1024;设置Title
setTitle(&quot:&#47;&#47,0;MyFrame 继承 JFrameclass MyFrame extends JFrame{ &#47;)不好意思
提问者采纳
声明createUserInterface方法
private void createUserInterface(){
&#47,Font./初始化pictureJLabel
pictureJLabel=new JLabel();/
/调用buttonActionPerformed(event)方法
buttonActionPerformed(event);声明一个新的类实例
Welcome_b app=new Welcome_b();import javax.exit(0);
/&#47,200;Press Any Key to Exit&
//设置此标签位置
textJLabel,40);移动textfield并调整其大小;设置此标签内容
&#47.为此标签设置边界
pictureJL设置按钮的操作设置textfield中的内容
} ),40);将button加入容器中
//将frame标题设定为“welcome”
setTitle(&;设置标签内容沿 X 轴的对齐方式
textJLabel.*;
&#47.setText(&&#47,200.EXIT_ON_CLOSE);SanSerif&/返回一个Container对象
Container contentPane=getContentPane();
/////button中的动作方法
private void buttonActionPerformed(ActionEvent event)
&#47.setLocation(35;
//&#47.setText(&quot.add(textJLabel).YELLOW);Welcome to Shenzhen Technology&);
&#47,由 width 和 height 指定新的大小
textfield。由 x 和 y 指定左上角的新位置;
/Welcome_b继承JFramepublic class Welcome_b extends JFrame{ /设置此类实例的关闭方式设置按钮标签
&#47.awt.setLayout(null);终止当前正在运行的 Java 虚拟机
System,370.gif&初始化button
button=new JButton().setHorizontalAlignment(JL
&#47,513);&#47.CENTER);
/设置此容器的布局管理器
contentPane.add(pictureJLabel).*;/
/声明第二个JLabel对象
private JLabel pictureJL声明一个JTextField对象
private JTextField textfield.setHorizontalAlignment(JLabel.setEditable(true).CENTER);/),36));
/声明一个JLabel对象
private JLabel textJL设定frame大小
setSize(608;将textJLabel加入到容器中
&#47.setSize(550;/设置文本的水平对齐方式/设置标签内容沿 X 轴的对齐方式
pictureJLabel.setBounds(200;设定frame是否可见
setVisible(true);
/&#47,由 width 和 height 指定新的大小
button.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent event){
////将pictureJLabel加入到容器中
//声明此类的构造函数
public Welcome_b(){
&#47.setHorizontalAlignment(JTextField,500;Shenzhen Institute of Information and Technology&设置标签内字体
&#47.*;/Welcome&quot。由 x 和 y 指定左上角的新位置;设置文本框是否可编辑/在此标签中加入图片
pictureJL声明一个JButton对象
private JButton button.setBounds(54;);设置此容器的背景颜色为黄色
&#47,250);初始化textJLabel
textJLabel=new JLabel();将文本框加入到容器中
contentPane.setText(&
/&#47详细注释~~/
/设置此标签大小
textJLabel.add(textfield);&#47.setDefaultCloseOperation(JF);/调用createUserInterface方法
createUserInterface();初始化textfield
textfield=new JTextField();/
&#47.PLAIN;/
&#47.setFont(new Font(&/
&#47.setBounds(200.setBackground(Cmain方法
public static void main(String[] args) {
/&#47,415,120;移动button并调整其大小;//
//&#47.setIcon(new ImageIcon(&quot.LEFT),0).add(button).awt
提问者评价
其他类似问题
为您推荐:
其他3条回答
你放在eclipse里面运行一下,就清楚了
这是用Swing的GUI程序,如果是初学建议先看基础知识。整个程序其实就是一个JFrame(窗口类)的一个子类。这个类有主函数,作为程序的入口。主函数中 Welcome_b app=new Welcome_b();//修建了一个这个类的对象(),也就是创建了一个窗口,app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //使窗口在点击关闭按钮时退出程序其他部分的内容是向这个窗口中加组件。 还有不清楚的再问!
这是用Swing的GUI程序,如果是初学建议先看基础知识。整个程序其实就是一个JFrame(窗口类)的一个子类。这个类有主函数,作为程序的入口。主函数中 Welcome_b app=new Welcome_b();//修建了一个这个类的对象(),也就是创建了一个窗口,app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //使窗口在点击关闭按钮时退出程序其他部分的内容是向这个窗口中加组件。 还有不清楚的再问! 我是问的我们大学老师
您可能关注的推广
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁

我要回帖

更多关于 font family 的文章

 

随机推荐