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

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

?? libpng.txt

?? Trolltech公司發(fā)布的基于C++圖形開發(fā)環(huán)境
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
                 five bytes per chunk, NULL or '\0' if                 num_chunks is 0)    num_chunks - number of chunks affected; if 0, all                 unknown chunks are affectedUnknown chunks declared in this way will be saved as raw data onto alist of png_unknown_chunk structures.  If a chunk that is normallyknown to libpng is named in the list, it will be handled as unknown,according to the "keep" directive.  If a chunk is named in successiveinstances of png_set_keep_unknown_chunks(), the final instance willtake precedence.The high-level read interfaceAt this point there are two ways to proceed; through the high-levelread interface, or through a sequence of low-level read operations.You can use the high-level interface if (a) you are willing to readthe entire image into memory, and (b) the input transformationsyou want to do are limited to the following set:    PNG_TRANSFORM_IDENTITY      No transformation    PNG_TRANSFORM_STRIP_16      Strip 16-bit samples to                                8 bits    PNG_TRANSFORM_STRIP_ALPHA   Discard the alpha channel    PNG_TRANSFORM_PACKING       Expand 1, 2 and 4-bit                                samples to bytes    PNG_TRANSFORM_PACKSWAP      Change order of packed                                pixels to LSB first    PNG_TRANSFORM_EXPAND        Perform set_expand()    PNG_TRANSFORM_INVERT_MONO   Invert monochrome images    PNG_TRANSFORM_SHIFT         Normalize pixels to the                                sBIT depth    PNG_TRANSFORM_BGR           Flip RGB to BGR, RGBA                                to BGRA    PNG_TRANSFORM_SWAP_ALPHA    Flip RGBA to ARGB or GA                                to AG    PNG_TRANSFORM_INVERT_ALPHA  Change alpha from opacity                                to transparency    PNG_TRANSFORM_SWAP_ENDIAN   Byte-swap 16-bit samples(This excludes setting a background color, doing gamma transformation,dithering, and setting filler.)  If this is the case, simply do this:    png_read_png(png_ptr, info_ptr, png_transforms, NULL)where png_transforms is an integer containing the logical OR ofsome set of transformation flags.  This call is equivalent to png_read_info(),followed the set of transformations indicated by the transform mask,then png_read_image(), and finally png_read_end().(The final parameter of this call is not yet used.  Someday it might pointto transformation parameters required by some future input transform.)After you have called png_read_png(), you can retrieve the image datawith   row_pointers = png_get_rows(png_ptr, info_ptr);where row_pointers is an array of pointers to the pixel data for each row:   png_bytep row_pointers[height];If you know your image size and pixel size ahead of time, you can allocaterow_pointers prior to calling png_read_png() with   row_pointers = png_malloc(png_ptr,      height*sizeof(png_bytep));   for (int i=0; i<height, i++)      row_pointers[i]=png_malloc(png_ptr,         width*pixel_size);   png_set_rows(png_ptr, info_ptr, &row_pointers);Alternatively you could allocate your image in one big block and definerow_pointers[i] to point into the proper places in your block.If you use png_set_rows(), the application is responsible for freeingrow_pointers (and row_pointers[i], if they were separately allocated).If you don't allocate row_pointers ahead of time, png_read_png() willdo it, and it'll be free'ed when you call png_destroy_*().The low-level read interfaceIf you are going the low-level route, you are now ready to read allthe file information up to the actual image data.  You do this with acall to png_read_info().    png_read_info(png_ptr, info_ptr);This will process all chunks up to but not including the image data.Querying the info structureFunctions are used to get the information from the info_ptr once ithas been read.  Note that these fields may not be completely filledin until png_read_end() has read the chunk data following the image.    png_get_IHDR(png_ptr, info_ptr, &width, &height,       &bit_depth, &color_type, &interlace_type,       &compression_type, &filter_method);    width          - holds the width of the image                     in pixels (up to 2^31).    height         - holds the height of the image                     in pixels (up to 2^31).    bit_depth      - holds the bit depth of one of the                     image channels.  (valid values are                     1, 2, 4, 8, 16 and depend also on                     the color_type.  See also                     significant bits (sBIT) below).    color_type     - describes which color/alpha channels                         are present.                     PNG_COLOR_TYPE_GRAY                        (bit depths 1, 2, 4, 8, 16)                     PNG_COLOR_TYPE_GRAY_ALPHA                        (bit depths 8, 16)                     PNG_COLOR_TYPE_PALETTE                        (bit depths 1, 2, 4, 8)                     PNG_COLOR_TYPE_RGB                        (bit_depths 8, 16)                     PNG_COLOR_TYPE_RGB_ALPHA                        (bit_depths 8, 16)                     PNG_COLOR_MASK_PALETTE                     PNG_COLOR_MASK_COLOR                     PNG_COLOR_MASK_ALPHA    filter_method  - (must be PNG_FILTER_TYPE_BASE                     for PNG 1.0, and can also be                     PNG_INTRAPIXEL_DIFFERENCING if                     the PNG datastream is embedded in                     a MNG-1.0 datastream)    compression_type - (must be PNG_COMPRESSION_TYPE_BASE                     for PNG 1.0)    interlace_type - (PNG_INTERLACE_NONE or                     PNG_INTERLACE_ADAM7)    Any or all of interlace_type, compression_type, of    filter_method can be NULL if you are    not interested in their values.    channels = png_get_channels(png_ptr, info_ptr);    channels       - number of channels of info for the                     color type (valid values are 1 (GRAY,                     PALETTE), 2 (GRAY_ALPHA), 3 (RGB),                     4 (RGB_ALPHA or RGB + filler byte))    rowbytes = png_get_rowbytes(png_ptr, info_ptr);    rowbytes       - number of bytes needed to hold a row    signature = png_get_signature(png_ptr, info_ptr);    signature      - holds the signature read from the                     file (if any).  The data is kept in                     the same offset it would be if the                     whole signature were read (i.e. if an                     application had already read in 4                     bytes of signature before starting                     libpng, the remaining 4 bytes would                     be in signature[4] through signature[7]                     (see png_set_sig_bytes())).    width            = png_get_image_width(png_ptr,                         info_ptr);    height           = png_get_image_height(png_ptr,                         info_ptr);    bit_depth        = png_get_bit_depth(png_ptr,                         info_ptr);    color_type       = png_get_color_type(png_ptr,                         info_ptr);    filter_method    = png_get_filter_type(png_ptr,                         info_ptr);    compression_type = png_get_compression_type(png_ptr,                         info_ptr);    interlace_type   = png_get_interlace_type(png_ptr,                         info_ptr);These are also important, but their validity depends on whether the chunkhas been read.  The png_get_valid(png_ptr, info_ptr, PNG_INFO_<chunk>) andpng_get_<chunk>(png_ptr, info_ptr, ...) functions return non-zero if thedata has been read, or zero if it is missing.  The parameters to thepng_get_<chunk> are set directly if they are simple data types, or a pointerinto the info_ptr is returned for any complex types.    png_get_PLTE(png_ptr, info_ptr, &palette,                     &num_palette);    palette        - the palette for the file                     (array of png_color)    num_palette    - number of entries in the palette    png_get_gAMA(png_ptr, info_ptr, &gamma);    gamma          - the gamma the file is written                     at (PNG_INFO_gAMA)    png_get_sRGB(png_ptr, info_ptr, &srgb_intent);    srgb_intent    - the rendering intent (PNG_INFO_sRGB)                     The presence of the sRGB chunk                     means that the pixel data is in the                     sRGB color space.  This chunk also                     implies specific values of gAMA and                     cHRM.    png_get_iCCP(png_ptr, info_ptr, &name,       &compression_type, &profile, &proflen);    name            - The profile name.    compression     - The compression type; always                      PNG_COMPRESSION_TYPE_BASE for PNG 1.0.                      You may give NULL to this argument to                      ignore it.    profile         - International Color Consortium color                      profile data. May contain NULs.    proflen         - length of profile data in bytes.    png_get_sBIT(png_ptr, info_ptr, &sig_bit);    sig_bit        - the number of significant bits for                     (PNG_INFO_sBIT) each of the gray,                     red, green, and blue channels,                     whichever are appropriate for the                     given color type (png_color_16)    png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans,                     &trans_values);    trans          - array of transparent entries for                     palette (PNG_INFO_tRNS)    trans_values   - graylevel or color sample values of                     the single transparent color for                     non-paletted images (PNG_INFO_tRNS)    num_trans      - number of transparent entries                     (PNG_INFO_tRNS)    png_get_hIST(png_ptr, info_ptr, &hist);                     (PNG_INFO_hIST)    hist           - histogram of palette (array of                     png_uint_16)    png_get_tIME(png_ptr, info_ptr, &mod_time);    mod_time       - time image was last modified                    (PNG_VALID_tIME)    png_get_bKGD(png_ptr, info_ptr, &background);    background     - background color (PNG_VALID_bKGD)                     valid 16-bit red, green and blue                     values, regardless of color_type    num_comments   = png_get_text(png_ptr, info_ptr,                     &text_ptr, &num_text);    num_comments   - number of comments    text_ptr       - array of png_text holding image                     comments    text_ptr[i].compression - type of compression used                 on "text" PNG_TEXT_COMPRESSION_NONE                           PNG_TEXT_COMPRESSION_zTXt                           PNG_ITXT_COMPRESSION_NONE                           PNG_ITXT_COMPRESSION_zTXt    text_ptr[i].key   - keyword for comment.  Must contain                         1-79 characters.    text_ptr[i].text  - text comments for current                         keyword.  Can be empty.    text_ptr[i].text_length - length of text string,                 after decompression, 0 for iTXt    text_ptr[i].itxt_length - length of itxt string,                 after decompression, 0 for tEXt/zTXt    text_ptr[i].lang  - language of comment (empty                         string for unknown).    text_ptr[i].lang_key  - keyword in UTF-8                         (empty string for unknown).    num_text       - number of comments (same as                     num_comments; you can put NULL here                     to avoid the duplication)    Note while png_set_text() will accept text, language,    and translated keywords that can be NULL pointers, the    structure returned by png_get_text will always contain    regular zero-terminated C strings.  They might be    empty strings but they will never be NULL pointers.    num_spalettes = png_get_sPLT(png_ptr, info_ptr,       &palette_ptr);    palette_ptr    - array of palette structures holding                     contents of one or more sPLT chunks                     read.    num_spalettes  - number of sPLT chunks read.    png_get_oFFs(png_ptr, info_ptr, &offset_x, &offset_y,       &unit_type);    offset_x       - positive offset from the left edge                     of the screen    offset_y       - positive offset from the top edge                     of the screen    unit_type      - PNG_OFFSET_PIXEL, PNG_OFFSET_MICROMETER    png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y,       &unit_type);    res_x          - pixels/unit physical resolution in                     x direction    res_y          - pixels/unit physical resolution in                     x direction    unit_type      - PNG_RESOLUTION_UNKNOWN,                     PNG_RESOLUTION_METER    png_get_sCAL(png_ptr, info_ptr, &unit, &width,       &height)    unit        - physical scale units (an integer)    width       - width of a pixel in physical scale units    height      - height of a pixel in physical scale units                 (width and height are doubles)    png_get_sCAL_s(png_ptr, info_ptr, &unit, &width,       &height)    unit        - physical scale units (an integer)    width       - width of a pixel in physical scale units    height      - height of a pixel in physical scale units                 (width and height are strings like "2.54")    num_unknown_chunks = png_get_unknown_chunks(png_ptr,       info_ptr, &unknowns)    unknowns          - array of png_unknown_chunk                        structures holding unknown chunks

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区在线免费视频| 欧美电影免费提供在线观看| 亚洲人成人一区二区在线观看| 精品一区二区三区免费毛片爱| 日韩久久久精品| 精品一区二区日韩| 久久九九99视频| 99久久伊人精品| 一区二区三区免费| 91麻豆精品国产91久久久久久久久 | 婷婷成人激情在线网| 91精品国产综合久久精品性色| 日本aⅴ免费视频一区二区三区 | 欧美三片在线视频观看| 国产99久久久国产精品| 亚洲九九爱视频| 欧美一区二区三区在线观看视频| 经典三级一区二区| 国产精品免费视频一区| 色悠久久久久综合欧美99| 日韩精品视频网| 国产精品网友自拍| 欧美日韩国产首页| 国产精品123| 午夜精品久久久久影视| 久久综合九色欧美综合狠狠| 91视频免费播放| 蜜桃视频在线观看一区二区| 一区视频在线播放| 欧美一区二区在线免费播放| 成人激情小说乱人伦| 视频一区二区欧美| 国产精品久久久久影院色老大 | 日韩视频永久免费| 成人av免费观看| 日韩成人午夜精品| 中文字幕精品一区| 欧美一级日韩免费不卡| 91美女在线看| 国产乱子伦一区二区三区国色天香| 亚洲欧洲制服丝袜| 26uuu精品一区二区| 欧美日精品一区视频| 丰满白嫩尤物一区二区| 日本美女视频一区二区| 亚洲精品国产一区二区三区四区在线| 日韩欧美成人午夜| 在线视频中文字幕一区二区| 风间由美一区二区三区在线观看| 午夜亚洲国产au精品一区二区| 中文字幕一区二区三区在线播放 | 国产精品三级视频| 日韩一区二区免费高清| 在线一区二区三区做爰视频网站| 国产成人亚洲综合a∨猫咪| 青草av.久久免费一区| 亚洲精品成人精品456| 国产欧美一区二区三区网站| 精品伦理精品一区| 欧美精品vⅰdeose4hd| 91麻豆精品秘密| 99精品偷自拍| 成人aa视频在线观看| 懂色av中文一区二区三区| 国产在线视频精品一区| 麻豆精品国产91久久久久久| 亚洲成人黄色小说| 亚洲午夜激情av| 亚洲综合图片区| 亚洲一区二区精品3399| 亚洲伦理在线精品| 亚洲女爱视频在线| 亚洲黄色尤物视频| 一区二区三区在线免费| 亚洲日本韩国一区| 国产精品国产三级国产aⅴ入口 | 91麻豆精品国产无毒不卡在线观看| 欧洲国产伦久久久久久久| 91久久精品一区二区三| 欧美视频你懂的| 欧美电影影音先锋| 欧美一区二区免费视频| 日韩视频免费观看高清完整版在线观看| 欧美性受极品xxxx喷水| 欧美精选一区二区| 91精品一区二区三区久久久久久 | 日本亚洲视频在线| 久久精品国产在热久久| 日本不卡的三区四区五区| 日韩国产欧美在线播放| 久久99精品国产.久久久久久| 美女高潮久久久| 国产成人午夜精品5599| thepron国产精品| 在线欧美日韩精品| 欧美一区二区视频网站| 欧美精品一区二区高清在线观看| 久久综合资源网| 国产精品久久一卡二卡| 亚洲尤物在线视频观看| 青椒成人免费视频| 国产高清精品久久久久| 99久久国产综合精品女不卡| 欧美三级视频在线| 亚洲精品在线免费播放| 中文字幕在线免费不卡| 亚洲18女电影在线观看| 九色综合国产一区二区三区| www.欧美日韩| 欧美一区二区免费| 中文一区二区在线观看| 亚洲自拍偷拍av| 国产一区福利在线| 色婷婷综合久久久久中文一区二区| 91麻豆精品国产| 久久精品视频一区| 亚洲一区二区av电影| 韩国女主播成人在线| 在线观看视频91| 久久亚洲私人国产精品va媚药| 综合久久一区二区三区| 久久国产精品色| 色噜噜狠狠一区二区三区果冻| 日韩欧美色电影| 中文字幕一区二区三区乱码在线| 日韩精品一二三区| av网站免费线看精品| 欧美xfplay| 亚洲国产精品自拍| 国产成人av电影在线观看| 欧美精品在线视频| 国产精品美女一区二区三区| 免费成人性网站| 欧美丝袜自拍制服另类| 亚洲国产高清不卡| 激情久久五月天| 欧美二区三区91| 亚洲综合男人的天堂| 国产福利精品一区| 日韩欧美国产一区二区三区| 艳妇臀荡乳欲伦亚洲一区| 国产精品一级二级三级| 欧美一区二区三区系列电影| 一区二区三区成人| 99久久精品情趣| 国产喷白浆一区二区三区| 日韩av中文在线观看| 欧美在线免费视屏| 亚洲美女免费视频| av不卡免费电影| 国产人伦精品一区二区| 黄色资源网久久资源365| 777奇米四色成人影色区| 亚洲福利视频一区| 欧美曰成人黄网| 一区二区三区波多野结衣在线观看 | 99精品久久久久久| 中文字幕成人在线观看| 国产一区二区不卡在线| 精品少妇一区二区三区在线播放 | 久久免费精品国产久精品久久久久| 天堂va蜜桃一区二区三区漫画版| 在线观看精品一区| 一区二区三区四区国产精品| 91极品视觉盛宴| 亚洲一区免费视频| 91福利国产精品| 亚洲一区二区三区视频在线 | 国产一区在线精品| 欧美va亚洲va香蕉在线| 极品少妇xxxx精品少妇| 精品乱人伦小说| 国产在线看一区| 欧美极品美女视频| 成人精品鲁一区一区二区| 国产精品白丝在线| 色哦色哦哦色天天综合| 性做久久久久久久免费看| 日韩一级片在线观看| 国产精品自拍网站| 中文字幕巨乱亚洲| 91麻豆文化传媒在线观看| 亚洲大尺度视频在线观看| 欧美一区日本一区韩国一区| 精品一区二区三区蜜桃| 欧美激情资源网| 91女神在线视频| 无码av免费一区二区三区试看| 欧美一级欧美一级在线播放| 国产综合色精品一区二区三区| 欧美极品xxx| 欧美视频精品在线观看| 久久av资源站| 成人欧美一区二区三区视频网页| 日本精品裸体写真集在线观看 | 国产亚洲一区二区在线观看| 99视频在线精品| 天天综合网天天综合色| 久久精品一级爱片| 在线观看亚洲成人|