亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jfif.php

?? CMS系統(tǒng) 提供學(xué)習(xí)研究修改最好了 比流行的一些CMS簡單 但是更容易理解 是幫助你學(xué)習(xí)PHPCMS系統(tǒng)的好東東哦
?? PHP
?? 第 1 頁 / 共 2 頁
字號:
<?php/******************************************************************************** Filename:     JFIF.php** Description:  Provides functions for reading and writing information to/from*               JPEG File Interchange Format (JFIF) segments and*               JFIF Extension (JFXX) segments within a JPEG file.** Author:       Evan Hunter** Date:         24/7/2004** Project:      PHP JPEG Metadata Toolkit** Revision:     1.11** Changes:      1.00 -> 1.11 : changed Interpret_JFXX_to_HTML to allow thumbnail links to work when*                              toolkit is portable across directories** URL:          http://electronics.ozhiker.com** Copyright:    Copyright Evan Hunter 2004** License:      This file is part of the PHP JPEG Metadata Toolkit.**               The PHP JPEG Metadata Toolkit is free software; you can*               redistribute it and/or modify it under the terms of the*               GNU General Public License as published by the Free Software*               Foundation; either version 2 of the License, or (at your*               option) any later version.**               The PHP JPEG Metadata Toolkit is distributed in the hope*               that it will be useful, but WITHOUT ANY WARRANTY; without*               even the implied warranty of MERCHANTABILITY or FITNESS*               FOR A PARTICULAR PURPOSE.  See the GNU General Public License*               for more details.**               You should have received a copy of the GNU General Public*               License along with the PHP JPEG Metadata Toolkit; if not,*               write to the Free Software Foundation, Inc., 59 Temple*               Place, Suite 330, Boston, MA  02111-1307  USA**               If you require a different license for commercial or other*               purposes, please contact the author: evan@ozhiker.com*******************************************************************************/include_once 'pjmt_utils.php';          // Change: as of version 1.11 - added to allow directory portability/******************************************************************************** Function:     get_JFIF** Description:  Retrieves information from a JPEG File Interchange Format (JFIF)*               segment and returns it in an array. Uses information supplied by*               the get_jpeg_header_data function** Parameters:   jpeg_header_data - a JPEG header data array in the same format*                                  as from get_jpeg_header_data** Returns:      JFIF_data - an array of JFIF data*               FALSE - if a JFIF segment could not be found*******************************************************************************/function get_JFIF( $jpeg_header_data ){        //Cycle through the header segments        for( $i = 0; $i < count( $jpeg_header_data ); $i++ )        {                // If we find an APP0 header,                if ( strcmp ( $jpeg_header_data[$i]['SegName'], "APP0" ) == 0 )                {                        // And if it has the JFIF label,                        if( strncmp ( $jpeg_header_data[$i]['SegData'], "JFIF\x00", 5) == 0 )                        {                                // Found a JPEG File Interchange Format (JFIF) Block                                // unpack the JFIF data from the incoming string                                // First is the JFIF label string                                // Then a two byte version number                                // Then a byte, units identifier, ( 0 = aspect ration, 1 = dpi, 2 = dpcm)                                // Then a two byte int X-Axis pixel Density (resolution)                                // Then a two byte int Y-Axis pixel Density (resolution)                                // Then a byte X-Axis JFIF thumbnail size                                // Then a byte Y-Axis JFIF thumbnail size                                // Then the uncompressed RGB JFIF thumbnail data                                $JFIF_data = unpack( 'a5JFIF/C2Version/CUnits/nXDensity/nYDensity/CThumbX/CThumbY/a*ThumbData', $jpeg_header_data[$i]['SegData'] );                                return $JFIF_data;                        }                }        }        return FALSE;}/******************************************************************************* End of Function:     get_JFIF******************************************************************************//******************************************************************************** Function:     put_JFIF** Description:  Creates a new JFIF segment from an array of JFIF data in the*               same format as would be retrieved from get_JFIF, and inserts*               this segment into the supplied JPEG header array** Parameters:   jpeg_header_data - a JPEG header data array in the same format*                                  as from get_jpeg_header_data, into which the*                                  new JFIF segment will be put*               new_JFIF_array - a JFIF information array in the same format as*                                from get_JFIF, to create the new segment** Returns:      jpeg_header_data - the JPEG header data array with the new*                                  JFIF segment added*******************************************************************************/function put_JFIF( $jpeg_header_data, $new_JFIF_array ){        // pack the JFIF data into its proper format for a JPEG file        $packed_data = pack( 'a5CCCnnCCa*',"JFIF\x00", $new_JFIF_array['Version1'], $new_JFIF_array['Version2'], $new_JFIF_array['Units'], $new_JFIF_array['XDensity'], $new_JFIF_array['YDensity'], $new_JFIF_array['ThumbX'], $new_JFIF_array['ThumbY'], $new_JFIF_array['ThumbData'] );        //Cycle through the header segments        for( $i = 0; $i < count( $jpeg_header_data ); $i++ )        {                // If we find an APP0 header,                if ( strcmp ( $jpeg_header_data[$i]['SegName'], "APP0" ) == 0 )                {                        // And if it has the JFIF label,                        if( strncmp ( $jpeg_header_data[$i]['SegData'], "JFIF\x00", 5) == 0 )                        {                                // Found a preexisting JFIF block - Replace it with the new one and return.                                $jpeg_header_data[$i]['SegData'] = $packed_data;                                return $jpeg_header_data;                        }                }        }        // No preexisting JFIF block found, insert a new one at the start of the header data.        array_splice($jpeg_header_data, 0 , 0, array( array(   "SegType" => 0xE0,                                                                "SegName" => "APP0",                                                                "SegDesc" => $GLOBALS[ "JPEG_Segment_Descriptions" ][ 0xE0 ],                                                                "SegData" => $packed_data ) ) );        return $jpeg_header_data;}/******************************************************************************* End of Function:     put_JFIF******************************************************************************//******************************************************************************** Function:     Interpret_JFIF_to_HTML** Description:  Generates html showing the JFIF information contained in*               a JFIF data array, as retrieved with get_JFIF** Parameters:   JFIF_array - a JFIF data array, as from get_JFIF*               filename - the name of the JPEG file being processed ( used*                          by the script which displays the JFIF thumbnail)*** Returns:      output - the HTML string*******************************************************************************/function Interpret_JFIF_to_HTML( $JFIF_array, $filename ){        $output = "";        if ( $JFIF_array !== FALSE )        {                $output .= "<H2 class=\"JFIF_Main_Heading\">Contains JPEG File Interchange Format (JFIF) Information</H2>\n";                $output .= "\n<table class=\"JFIF_Table\" border=1>\n";                $output .= "<tr class=\"JFIF_Table_Row\"><td class=\"JFIF_Caption_Cell\">JFIF version: </td><td class=\"JFIF_Value_Cell\">". sprintf( "%d.%02d", $JFIF_array['Version1'], $JFIF_array['Version2'] ) . "</td></tr>\n";                if ( $JFIF_array['Units'] == 0 )                {                        $output .= "<tr class=\"JFIF_Table_Row\"><td class=\"JFIF_Caption_Cell\">Pixel Aspect Ratio: </td><td class=\"JFIF_Value_Cell\">" . $JFIF_array['XDensity'] ." x " . $JFIF_array['YDensity'] . "</td></tr>\n";                }                elseif ( $JFIF_array['Units'] == 1 )                {                        $output .= "<tr class=\"JFIF_Table_Row\"><td class=\"JFIF_Caption_Cell\">Resolution: </td><td class=\"JFIF_Value_Cell\">" . $JFIF_array['XDensity'] ." x " . $JFIF_array['YDensity'] . " pixels per inch</td></tr>\n";                }                elseif ( $JFIF_array['Units'] == 2 )                {                        $output .= "<tr class=\"JFIF_Table_Row\"><td class=\"JFIF_Caption_Cell\">Resolution: </td><td class=\"JFIF_Value_Cell\">" . $JFIF_array['XDensity'] ." x " . $JFIF_array['YDensity'] . " pixels per cm</td></tr>\n";                }                $output .= "<tr class=\"JFIF_Table_Row\"><td class=\"JFIF_Caption_Cell\">JFIF (uncompressed) thumbnail: </td><td class=\"JFIF_Value_Cell\">";                if ( ( $JFIF_array['ThumbX'] != 0 ) && ( $JFIF_array['ThumbY'] != 0 ) )                {                        $output .= $JFIF_array['ThumbX'] ." x " . $JFIF_array['ThumbY'] . " pixels, Thumbnail Display Not Yet Implemented</td></tr>\n";                        // TODO Implement JFIF Thumbnail display                }                else                {                        $output .= "None</td></tr>\n";                }                $output .= "</table><br>\n";        }        return $output;}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品国产**网站演员| 一区二区国产盗摄色噜噜| 91丨porny丨户外露出| 亚洲午夜激情网站| 国产精品视频免费| 日韩欧美在线不卡| 在线观看网站黄不卡| 久久成人免费电影| 国产精品一二三四| 亚洲h动漫在线| 国产精品亲子乱子伦xxxx裸| 欧美高清视频www夜色资源网| 国产a区久久久| 日本一区中文字幕| 亚洲一区二区偷拍精品| 国产欧美精品国产国产专区| 欧美放荡的少妇| 一本久久精品一区二区| 国产乱码精品一区二区三区av| 香蕉久久夜色精品国产使用方法 | 日韩视频免费观看高清完整版在线观看 | 欧美亚洲一区二区在线| 成人av电影在线观看| 久久超级碰视频| 天天av天天翘天天综合网色鬼国产| 国产精品久久久久久福利一牛影视| 久久综合网色—综合色88| 欧美一区二区大片| 精品少妇一区二区三区视频免付费| 又紧又大又爽精品一区二区| 国产亚洲欧美日韩日本| 日韩欧美国产系列| 欧美一区二区三区视频在线| 精品视频色一区| 欧洲人成人精品| 91国偷自产一区二区使用方法| 97久久精品人人澡人人爽| 成人爱爱电影网址| 99国产精品国产精品久久| 99久久精品国产精品久久| 成人激情免费视频| www.66久久| 色婷婷一区二区三区四区| 在线日韩av片| 欧美片网站yy| 3751色影院一区二区三区| 91精品国产综合久久久蜜臀图片| 91精品在线一区二区| 日韩欧美第一区| 久久嫩草精品久久久精品一| 久久久久久久久久美女| 久久精品网站免费观看| 欧美国产精品中文字幕| 综合精品久久久| 成人听书哪个软件好| 国产精品久久久久久久久免费丝袜| 久久久久久久久久美女| 欧美国产日本视频| 亚洲视频一区在线| 亚洲已满18点击进入久久| 午夜精品久久久久久久久久 | 亚洲成人综合在线| 水野朝阳av一区二区三区| 日本vs亚洲vs韩国一区三区| 精品一区二区三区在线视频| 国产成人精品网址| 色综合视频在线观看| 欧美日韩国产高清一区| 精品av综合导航| 国产精品理论在线观看| 亚洲激情图片一区| 免费在线观看成人| 丁香天五香天堂综合| 欧美自拍偷拍一区| 欧美不卡123| 中文字幕在线观看不卡视频| 亚洲国产成人av好男人在线观看| 免费观看成人av| 成人精品一区二区三区四区| 欧美日韩在线不卡| 91蝌蚪porny九色| 99久久精品国产毛片| 欧美无乱码久久久免费午夜一区 | 国产精品黄色在线观看| 亚洲一区二区三区中文字幕| 蜜臀91精品一区二区三区| 成人国产在线观看| 欧美日韩精品综合在线| 久久蜜桃香蕉精品一区二区三区| 最新国产精品久久精品| 麻豆成人av在线| 91麻豆免费看片| 久久久久9999亚洲精品| 亚洲综合一区在线| 国产裸体歌舞团一区二区| 欧美性生活一区| 国产精品水嫩水嫩| 久久精品72免费观看| 在线精品视频一区二区| 国产喂奶挤奶一区二区三区| 亚洲成av人在线观看| 成人免费视频免费观看| 欧美一二三区在线| 亚洲精品乱码久久久久久久久| 黑人精品欧美一区二区蜜桃| 欧美在线视频日韩| 韩国成人在线视频| 成人精品视频一区二区三区| 欧美久久久一区| 亚洲精品乱码久久久久久日本蜜臀| 精品一区二区三区免费观看| 欧美日韩一区二区三区不卡| 国产精品国产三级国产三级人妇| 一本久道久久综合中文字幕| 337p日本欧洲亚洲大胆精品| 亚洲成年人网站在线观看| 91丨porny丨国产| 久久品道一品道久久精品| 亚洲一区二区免费视频| 99热精品一区二区| 国产欧美精品一区二区色综合| 麻豆国产精品777777在线| 欧美日韩国产bt| 一区2区3区在线看| 99久久久免费精品国产一区二区| 久久久久久毛片| 国内外成人在线| 精品对白一区国产伦| 欧美aaa在线| 欧美一级日韩一级| 奇米888四色在线精品| 欧美肥妇bbw| 亚洲777理论| 欧美日韩成人综合| 亚洲成年人网站在线观看| 在线观看91视频| 亚洲在线一区二区三区| 欧美视频中文一区二区三区在线观看| 综合亚洲深深色噜噜狠狠网站| 国产盗摄一区二区三区| 久久精品在这里| 国产成人精品综合在线观看| 国产欧美日韩精品a在线观看| 风间由美一区二区三区在线观看 | 国产精品三级视频| 成人黄色小视频在线观看| 欧美国产精品久久| 99久久精品免费看国产| 亚洲欧洲日产国产综合网| 99久久精品费精品国产一区二区| 最新国产の精品合集bt伙计| 在线亚洲免费视频| 午夜久久久久久电影| 日韩三级视频在线看| 国产伦精品一区二区三区免费| 国产亚洲精品精华液| 99在线精品视频| 亚洲国产欧美在线| 欧美一级午夜免费电影| 国产不卡视频在线播放| 中文字幕在线不卡| 欧美日韩高清一区二区三区| 美国三级日本三级久久99| 久久久久久久久久久久久夜| 96av麻豆蜜桃一区二区| 午夜av一区二区| 久久女同精品一区二区| 91麻豆国产福利在线观看| 日韩精品免费视频人成| 国产三级精品视频| 欧美在线免费视屏| 国产在线精品一区在线观看麻豆| 国产精品丝袜91| 欧美日韩久久一区二区| 91成人网在线| 免费的国产精品| 亚洲国产成人自拍| 欧美理论电影在线| 国产麻豆精品久久一二三| 亚洲精品免费在线播放| 日韩女优制服丝袜电影| www.亚洲人| 日韩和欧美的一区| 国产精品久久久久久久久免费桃花| 欧美在线一二三四区| 国产一区啦啦啦在线观看| 亚洲人成网站精品片在线观看| 欧美精品v日韩精品v韩国精品v| 国产麻豆视频一区二区| 亚洲国产欧美在线| 亚洲国产岛国毛片在线| 亚洲资源中文字幕| 久久精品亚洲一区二区三区浴池 | 亚洲主播在线观看| 国产午夜精品一区二区| 欧美男女性生活在线直播观看| 国产成人在线观看免费网站| 午夜av区久久| 一区二区三区在线观看网站| 亚洲精品在线电影|