• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            socketref,再見!高德

            https://github.com/adoggie

              C++博客 :: 首頁 :: 聯系 :: 聚合  :: 管理
              246 Posts :: 4 Stories :: 312 Comments :: 0 Trackbacks

            常用鏈接

            留言簿(54)

            我參與的團隊

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            reference: http://netpbm.sourceforge.net/doc/ppm.html

            Each PPM image consists of the following:

            1. A "magic number" for identifying the file type. A ppm image's magic number is the two characters "P6".
            2. Whitespace (blanks, TABs, CRs, LFs).
            3. A width, formatted as ASCII characters in decimal.
            4. Whitespace.
            5. A height, again in ASCII decimal.
            6. Whitespace.
            7. The maximum color value (Maxval), again in ASCII decimal. Must be less than 65536 and more than zero.
            8. A single whitespace character (usually a newline).
            9. A raster of Height rows, in order from top to bottom. Each row consists of Width pixels, in order from left to right. Each pixel is a triplet of red, green, and blue samples, in that order. Each sample is represented in pure binary by either 1 or 2 bytes. If the Maxval is less than 256, it is 1 byte. Otherwise, it is 2 bytes. The most significant byte is first.

              A row of an image is horizontal. A column is vertical. The pixels in the image are square and contiguous.

            10. In the raster, the sample values are "nonlinear." They are proportional to the intensity of the ITU-R Recommendation BT.709 red, green, and blue in the pixel, adjusted by the BT.709 gamma transfer function. (That transfer function specifies a gamma number of 2.2 and has a linear section for small intensities). A value of Maxval for all three samples represents CIE D65 white and the most intense color in the color universe of which the image is part (the color universe is all the colors in all images to which this image might be compared).

              ITU-R Recommendation BT.709 is a renaming of the former CCIR Recommendation 709. When CCIR was absorbed into its parent organization, the ITU, ca. 2000, the standard was renamed. This document once referred to the standard as CIE Rec. 709, but it isn't clear now that CIE ever sponsored such a standard.

              Note that another popular color space is the newer sRGB. A common variation on PPM is to subsitute this color space for the one specified.

            11. Note that a common variation on the PPM format is to have the sample values be "linear," i.e. as specified above except without the gamma adjustment. pnmgamma takes such a PPM variant as input and produces a true PPM as output.
            12. Strings starting with "#" may be comments, the same as with PBM.


            posted on 2008-06-24 21:11 放屁阿狗 閱讀(687) 評論(0)  編輯 收藏 引用 所屬分類: OpenSource開源工程AGG/GEOS/Cairo/SVG
            亚洲乱码日产精品a级毛片久久| 欧美大香线蕉线伊人久久| 国产激情久久久久影院| 无码任你躁久久久久久老妇| 亚洲va久久久噜噜噜久久天堂| 精品国际久久久久999波多野 | 亚洲国产精品无码久久九九| 久久久免费精品re6| 久久无码人妻精品一区二区三区| 日韩av无码久久精品免费| 久久久久97国产精华液好用吗| 国产成人精品三上悠亚久久 | 亚洲午夜久久久久久久久久| 亚洲国产精品人久久| 亚洲国产欧洲综合997久久| 久久本道久久综合伊人| 国产精品女同久久久久电影院 | 国内精品九九久久久精品| 久久热这里只有精品在线观看| 久久国产免费观看精品| 色88久久久久高潮综合影院 | 精品久久久久久中文字幕大豆网| 国产精品欧美亚洲韩国日本久久| 亚洲AV乱码久久精品蜜桃| 狠狠综合久久AV一区二区三区| 久久精品亚洲乱码伦伦中文| 国产成人无码精品久久久久免费| 国产高潮国产高潮久久久| 久久无码人妻一区二区三区午夜| 综合久久精品色| 777午夜精品久久av蜜臀| 久久综合亚洲鲁鲁五月天| 一本久久a久久精品综合香蕉| 香蕉99久久国产综合精品宅男自| 久久99亚洲综合精品首页| 精品国产乱码久久久久久浪潮| 99久久人人爽亚洲精品美女| 久久se精品一区精品二区国产 | 青青青青久久精品国产 | 久久99精品久久久大学生| 伊人久久大香线蕉AV色婷婷色|