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

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

?? libpng.txt

?? Trolltech公司發(fā)布的基于C++圖形開(kāi)發(fā)環(huán)境
?? TXT
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
    unknowns[i].name  - name of unknown chunk    unknowns[i].data  - data of unknown chunk    unknowns[i].size  - size of unknown chunk's data    unknowns[i].location - position of chunk in file    The value of "i" corresponds to the order in which the    chunks were read from the PNG file or inserted with the    png_set_unknown_chunks() function.The data from the pHYs chunk can be retrieved in several convenientforms:    res_x = png_get_x_pixels_per_meter(png_ptr,       info_ptr)    res_y = png_get_y_pixels_per_meter(png_ptr,       info_ptr)    res_x_and_y = png_get_pixels_per_meter(png_ptr,       info_ptr)    res_x = png_get_x_pixels_per_inch(png_ptr,       info_ptr)    res_y = png_get_y_pixels_per_inch(png_ptr,       info_ptr)    res_x_and_y = png_get_pixels_per_inch(png_ptr,       info_ptr)    aspect_ratio = png_get_pixel_aspect_ratio(png_ptr,       info_ptr)   (Each of these returns 0 [signifying "unknown"] if       the data is not present or if res_x is 0;       res_x_and_y is 0 if res_x != res_y)The data from the oFFs chunk can be retrieved in several convenientforms:    x_offset = png_get_x_offset_microns(png_ptr, info_ptr);    y_offset = png_get_y_offset_microns(png_ptr, info_ptr);    x_offset = png_get_x_offset_inches(png_ptr, info_ptr);    y_offset = png_get_y_offset_inches(png_ptr, info_ptr);   (Each of these returns 0 [signifying "unknown" if both       x and y are 0] if the data is not present or if the       chunk is present but the unit is the pixel)For more information, see the png_info definition in png.h and thePNG specification for chunk contents.  Be careful with trustingrowbytes, as some of the transformations could increase the spaceneeded to hold a row (expand, filler, gray_to_rgb, etc.).See png_read_update_info(), below.A quick word about text_ptr and num_text.  PNG stores comments inkeyword/text pairs, one pair per chunk, with no limit on the numberof text chunks, and a 2^31 byte limit on their size.  While there aresuggested keywords, there is no requirement to restrict the use to thesestrings.  It is strongly suggested that keywords and text be sensibleto humans (that's the point), so don't use abbreviations.  Non-printingsymbols are not allowed.  See the PNG specification for more details.There is also no requirement to have text after the keyword.Keywords should be limited to 79 Latin-1 characters without leading ortrailing spaces, but non-consecutive spaces are allowed within thekeyword.  It is possible to have the same keyword any number of times.The text_ptr is an array of png_text structures, each holding apointer to a language string, a pointer to a keyword and a pointer toa text string.  The text string, language code, and translatedkeyword may be empty or NULL pointers.  The keyword/textpairs are put into the array in the order that they are received.However, some or all of the text chunks may be after the image, so, tomake sure you have read all the text chunks, don't mess with theseuntil after you read the stuff after the image.  This will bementioned again below in the discussion that goes with png_read_end().Input transformationsAfter you've read the header information, you can set up the libraryto handle any special transformations of the image data.  The variousways to transform the data will be described in the order that theyshould occur.  This is important, as some of these change the colortype and/or bit depth of the data, and some others only work oncertain color types and bit depths.  Even though each transformationchecks to see if it has data that it can do something with, you shouldmake sure to only enable a transformation if it will be valid for thedata.  For example, don't swap red and blue on grayscale data.The colors used for the background and transparency values should besupplied in the same format/depth as the current image data.  Theyare stored in the same format/depth as the image data in a bKGD or tRNSchunk, so this is what libpng expects for this data.  The colors aretransformed to keep in sync with the image data when an applicationcalls the png_read_update_info() routine (see below).Data will be decoded into the supplied row buffers packed into bytesunless the library has been told to transform it into another format.For example, 4 bit/pixel paletted or grayscale data will be returned2 pixels/byte with the leftmost pixel in the high-order bits of thebyte, unless png_set_packing() is called.  8-bit RGB data will be storedin RGB RGB RGB format unless png_set_filler() is called to insert fillerbytes, either before or after each RGB triplet.  16-bit RGB data willbe returned RRGGBB RRGGBB, with the most significant byte of the colorvalue first, unless png_set_strip_16() is called to transform it toregular RGB RGB triplets, or png_set_filler() is called to insertfiller bytes, either before or after each RRGGBB triplet.  Similarly,8-bit or 16-bit grayscale data can be modified with png_set_filler()or png_set_strip_16().The following code transforms grayscale images of less than 8 to 8 bits,changes paletted images to RGB, and adds a full alpha channel if there istransparency information in a tRNS chunk.  This is most useful ongrayscale images with bit depths of 2 or 4 or if there is a multiple-imageviewing application that wishes to treat all images in the same way.    if (color_type == PNG_COLOR_TYPE_PALETTE)        png_set_palette_to_rgb(png_ptr);    if (color_type == PNG_COLOR_TYPE_GRAY &&        bit_depth < 8) png_set_gray_1_2_4_to_8(png_ptr);    if (png_get_valid(png_ptr, info_ptr,        PNG_INFO_tRNS)) png_set_tRNS_to_alpha(png_ptr);These three functions are actually aliases for png_set_expand(), addedin libpng version 1.0.4, with the function names expanded to improve codereadability.  In some future version they may actually do differentthings.PNG can have files with 16 bits per channel.  If you only can handle8 bits per channel, this will strip the pixels down to 8 bit.    if (bit_depth == 16)        png_set_strip_16(png_ptr);If, for some reason, you don't need the alpha channel on an image,and you want to remove it rather than combining it with the background(but the image author certainly had in mind that you *would* combineit with the background, so that's what you should probably do):    if (color_type & PNG_COLOR_MASK_ALPHA)        png_set_strip_alpha(png_ptr);In PNG files, the alpha channel in an imageis the level of opacity.  If you need the alpha channel in an image tobe the level of transparency instead of opacity, you can invert thealpha channel (or the tRNS chunk data) after it's read, so that 0 isfully opaque and 255 (in 8-bit or paletted images) or 65535 (in 16-bitimages) is fully transparent, with    png_set_invert_alpha(png_ptr);PNG files pack pixels of bit depths 1, 2, and 4 into bytes as small asthey can, resulting in, for example, 8 pixels per byte for 1 bitfiles.  This code expands to 1 pixel per byte without changing thevalues of the pixels:    if (bit_depth < 8)        png_set_packing(png_ptr);PNG files have possible bit depths of 1, 2, 4, 8, and 16.  All pixelsstored in a PNG image have been "scaled" or "shifted" up to the nexthigher possible bit depth (e.g. from 5 bits/sample in the range [0,31] to8 bits/sample in the range [0, 255]).  However, it is also possible toconvert the PNG pixel data back to the original bit depth of the image.This call reduces the pixels back down to the original bit depth:    png_color_8p sig_bit;    if (png_get_sBIT(png_ptr, info_ptr, &sig_bit))        png_set_shift(png_ptr, sig_bit);PNG files store 3-color pixels in red, green, blue order.  This codechanges the storage of the pixels to blue, green, red:    if (color_type == PNG_COLOR_TYPE_RGB ||        color_type == PNG_COLOR_TYPE_RGB_ALPHA)        png_set_bgr(png_ptr);PNG files store RGB pixels packed into 3 or 6 bytes. This code expands theminto 4 or 8 bytes for windowing systems that need them in this format:    if (color_type == PNG_COLOR_TYPE_RGB)        png_set_filler(png_ptr, filler, PNG_FILLER_BEFORE);where "filler" is the 8 or 16-bit number to fill with, and the location iseither PNG_FILLER_BEFORE or PNG_FILLER_AFTER, depending upon whetheryou want the filler before the RGB or after.  This transformationdoes not affect images that already have full alpha channels.  To add anopaque alpha channel, use filler=0xff or 0xffff and PNG_FILLER_AFTER whichwill generate RGBA pixels.If you are reading an image with an alpha channel, and you need thedata as ARGB instead of the normal PNG format RGBA:    if (color_type == PNG_COLOR_TYPE_RGB_ALPHA)        png_set_swap_alpha(png_ptr);For some uses, you may want a grayscale image to be represented asRGB.  This code will do that conversion:    if (color_type == PNG_COLOR_TYPE_GRAY ||        color_type == PNG_COLOR_TYPE_GRAY_ALPHA)          png_set_gray_to_rgb(png_ptr);Conversely, you can convert an RGB or RGBA image to grayscale or grayscalewith alpha.    if (color_type == PNG_COLOR_TYPE_RGB ||        color_type == PNG_COLOR_TYPE_RGB_ALPHA)          png_set_rgb_to_gray_fixed(png_ptr, error_action,             int red_weight, int green_weight);    error_action = 1: silently do the conversion    error_action = 2: issue a warning if the original                      image has any pixel where                      red != green or red != blue    error_action = 3: issue an error and abort the                      conversion if the original                      image has any pixel where                      red != green or red != blue    red_weight:       weight of red component times 100000    green_weight:     weight of green component times 100000                      If either weight is negative, default                      weights (21268, 71514) are used.If you have set error_action = 1 or 2, you canlater check whether the image really was gray, after processingthe image rows, with the png_get_rgb_to_gray_status(png_ptr) function.It will return a png_byte that is zero if the image was gray or1 if there were any non-gray pixels.  bKGD and sBIT datawill be silently converted to grayscale, using the green channeldata, regardless of the error_action setting.With red_weight+green_weight<=100000,the normalized graylevel is computed:    int rw = red_weight * 65536;    int gw = green_weight * 65536;    int bw = 65536 - (rw + gw);    gray = (rw*red + gw*green + bw*blue)/65536;The default values approximate those recommended in the CharlesPoynton's Color FAQ, <http://www.inforamp.net/~poynton/>Copyright (c) 1998-01-04 Charles Poynton poynton@inforamp.net    Y = 0.212671 * R + 0.715160 * G + 0.072169 * BLibpng approximates this with    Y = 0.21268 * R    + 0.7151 * G    + 0.07217 * Bwhich can be expressed with integers as    Y = (6969 * R + 23434 * G + 2365 * B)/32768The calculation is done in a linear colorspace, if the image gammais known.If you have a grayscale and you are using png_set_expand_depth(),png_set_expand(), or png_set_gray_to_rgb to change to truecolor or toa higher bit-depth, you must either supply the background color as a grayvalue at the original file bit-depth (need_expand = 1) or else supply thebackground color as an RGB triplet at the final, expanded bit depth(need_expand = 0).  Similarly, if you are reading a paletted image, youmust either supply the background color as a palette index (need_expand = 1)or as an RGB triplet that may or may not be in the palette (need_expand = 0).    png_color_16 my_background;    png_color_16p image_background;    if (png_get_bKGD(png_ptr, info_ptr, &image_background))        png_set_background(png_ptr, image_background,          PNG_BACKGROUND_GAMMA_FILE, 1, 1.0);    else        png_set_background(png_ptr, &my_background,          PNG_BACKGROUND_GAMMA_SCREEN, 0, 1.0);The png_set_background() function tells libpng to composite imageswith alpha or simple transparency against the supplied backgroundcolor.  If the PNG file contains a bKGD chunk (PNG_INFO_bKGD valid),you may use this color, or supply another color more suitable forthe current display (e.g., the background color from a web page).  Youneed to tell libpng whether the color is in the gamma space of thedisplay (PNG_BACKGROUND_GAMMA_SCREEN for colors you supply), the file(PNG_BACKGROUND_GAMMA_FILE for colors from the bKGD chunk), or onethat is neither of these gammas (PNG_BACKGROUND_GAMMA_UNIQUE - I don'tknow why anyone would use this, but it's here).To properly display PNG images on any kind of system, the application needsto know what the display gamma is.  Ideally, the user will know this, andthe application will allow them to set it.  One method of allowing the userto set the display gamma separately for each system is to check for aSCREEN_GAMMA or DISPLAY_GAMMA environment variable, which will hopefully becorrectly set.Note that display_gamma is the overall gamma correction required to producepleasing results, which depends on the lighting conditions in the surroundingenvironment.  In a dim or brightly lit room, no compensation other thanthe physical gamma exponent of the monitor is needed, while in a dark rooma slightly smaller exponent is better.   double gamma, screen_gamma;   if (/* We have a user-defined screen       gamma value */)   {      screen_gamma = user_defined_screen_gamma;   }   /* One way that applications can share the same      screen gamma value */   else if ((gamma_str = getenv("SCREEN_GAMMA"))      != NULL)   {      screen_gamma = (double)atof(gamma_str);   }   /* If we don't have another value */   else   {      screen_gamma = 2.2; /* A good guess for a

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日日夜夜精品视频天天综合网| 天堂在线亚洲视频| 97se狠狠狠综合亚洲狠狠| 日韩色视频在线观看| 亚洲综合一区二区三区| 91在线观看地址| 中文字幕一区在线观看视频| 国产真实乱偷精品视频免| 欧美一区二区视频在线观看2022| 日韩在线a电影| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 亚洲动漫第一页| 欧美视频中文一区二区三区在线观看| 综合激情成人伊人| 在线观看av一区| 亚洲一区二区在线播放相泽| 中文字幕乱码日本亚洲一区二区| 成人国产视频在线观看| 国产精品久久久久久久岛一牛影视| 在线播放国产精品二区一二区四区| 成人欧美一区二区三区在线播放| 日韩精品专区在线影院观看| 国产麻豆午夜三级精品| 中文字幕一区二区三区不卡| 久久先锋影音av鲁色资源| 成人午夜激情视频| 亚洲欧美一区二区三区孕妇| 9191精品国产综合久久久久久| 91亚洲精品久久久蜜桃| 高清视频一区二区| 香蕉成人啪国产精品视频综合网| 欧美岛国在线观看| 538在线一区二区精品国产| 91黄色免费看| 精品在线一区二区| 亚洲天堂a在线| 国产精品国模大尺度视频| 欧美成人精品福利| 福利视频网站一区二区三区| 国产精品亚洲专一区二区三区 | 亚洲卡通欧美制服中文| 91麻豆精品久久久久蜜臀| 欧美在线看片a免费观看| 一本色道久久综合亚洲精品按摩 | 成人av先锋影音| av综合在线播放| 久久国产精品区| 激情欧美一区二区| 视频一区二区不卡| 日韩av在线播放中文字幕| 国产精品女人毛片| 欧美一区二区在线免费观看| 91精品国产91综合久久蜜臀| 日韩限制级电影在线观看| 337p日本欧洲亚洲大胆精品 | 国产亚洲一本大道中文在线| 欧美午夜宅男影院| 欧美日韩二区三区| 色偷偷久久人人79超碰人人澡| 99久久久无码国产精品| 91国偷自产一区二区三区成为亚洲经典 | 亚洲欧美偷拍另类a∨色屁股| 亚洲视频在线观看一区| 亚洲三级小视频| 亚洲电影在线免费观看| 狂野欧美性猛交blacked| 国产高清亚洲一区| 蜜臀久久99精品久久久画质超高清 | 亚洲视频精选在线| 亚洲蜜臀av乱码久久精品| 亚洲成人av一区二区| 久久电影网站中文字幕| 风间由美一区二区av101| 99精品在线观看视频| 欧美日韩精品三区| 久久久精品2019中文字幕之3| 欧美午夜免费电影| 精品乱人伦小说| 国产精品福利一区| 视频在线在亚洲| 国产精品一区在线观看乱码| 日本精品视频一区二区| 欧美成人伊人久久综合网| 国产女人18毛片水真多成人如厕| 精品国产凹凸成av人导航| 日韩欧美亚洲国产另类| 国产精品久久久久久久久免费相片 | 91丨porny丨中文| 日韩视频永久免费| 中文字幕在线免费不卡| 日韩精品免费专区| 波多野结衣欧美| 欧美一二三四在线| 亚洲男人的天堂网| 国产一区二区视频在线播放| 在线观看免费成人| 国产校园另类小说区| 天天综合网 天天综合色| 日韩av中文在线观看| av亚洲精华国产精华| 精品黑人一区二区三区久久| 一区二区三区自拍| 亚洲午夜国产一区99re久久| 国产精品一区二区在线播放| 欧美日韩国产bt| 亚洲人成影院在线观看| 国产资源在线一区| 91麻豆精品国产91久久久久| 日韩一区在线播放| 国产aⅴ精品一区二区三区色成熟| 欧美日韩亚洲国产综合| 精品日韩99亚洲| 亚洲综合一二三区| 99久久伊人精品| 国产三级一区二区三区| 免费高清视频精品| 国产成人午夜高潮毛片| 日韩欧美不卡在线观看视频| 午夜精品爽啪视频| 一本大道av伊人久久综合| 欧美高清在线精品一区| 黑人巨大精品欧美一区| 日韩丝袜美女视频| 石原莉奈在线亚洲三区| 欧美在线不卡视频| 亚洲欧美另类久久久精品2019| 风间由美性色一区二区三区| 久久久久久久久伊人| 青青草视频一区| 欧美一区二区免费视频| 五月婷婷综合网| 欧美日韩国产一级二级| 亚洲bt欧美bt精品| 欧美日韩一区中文字幕| 亚洲成av人片观看| 91精品在线一区二区| 丝袜美腿成人在线| 91精品久久久久久久久99蜜臂| 午夜国产精品影院在线观看| 欧美日韩国产bt| 奇米888四色在线精品| 欧美一区二区三区小说| 久久99蜜桃精品| 国产欧美日韩在线视频| 成人激情动漫在线观看| 亚洲少妇30p| 欧美三级视频在线观看| 日韩av在线播放中文字幕| 精品区一区二区| 国产成人午夜电影网| 欧美激情艳妇裸体舞| 色综合一区二区三区| www日韩大片| 国产一区二区电影| 国产精品嫩草久久久久| 成人黄色av网站在线| 国产精品国产成人国产三级 | 欧美三级电影网| 日韩 欧美一区二区三区| 精品999在线播放| 懂色av一区二区三区蜜臀| 亚洲欧美日韩在线| 欧美日韩久久不卡| 久久99日本精品| 亚洲欧美一区二区三区孕妇| 欧美日韩成人综合天天影院| 久久精品国产999大香线蕉| 国产精品久久影院| 欧美人妇做爰xxxⅹ性高电影| 精品午夜久久福利影院| 国产精品视频免费| 欧美日韩一区二区三区四区| 久久精品av麻豆的观看方式| 中文字幕的久久| 欧美老肥妇做.爰bbww| 极品少妇一区二区| 日韩一区日韩二区| 欧美一级日韩一级| 成人中文字幕电影| 丝袜国产日韩另类美女| 国产欧美日韩久久| 欧美日韩aaaaaa| 成人精品视频一区二区三区尤物| 一区二区不卡在线播放 | 亚洲在线视频免费观看| 精品久久久久99| 欧美性猛交xxxx乱大交退制版| 久久99国产精品成人| 亚洲色图欧洲色图| 精品成a人在线观看| 一本大道久久精品懂色aⅴ| 国产在线播放一区三区四| 亚洲伊人色欲综合网| 久久久久久久久伊人| 欧美日韩国产不卡| 色综合夜色一区| 高清国产一区二区| 久久国产夜色精品鲁鲁99| 亚洲妇女屁股眼交7| 最新欧美精品一区二区三区|