Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for cbP4 (0.06 sec)

  1. src/image/png/writer.go

    	switch e.cb {
    	case cbG8:
    		e.tmp[8] = 8
    		e.tmp[9] = ctGrayscale
    	case cbTC8:
    		e.tmp[8] = 8
    		e.tmp[9] = ctTrueColor
    	case cbP8:
    		e.tmp[8] = 8
    		e.tmp[9] = ctPaletted
    	case cbP4:
    		e.tmp[8] = 4
    		e.tmp[9] = ctPaletted
    	case cbP2:
    		e.tmp[8] = 2
    		e.tmp[9] = ctPaletted
    	case cbP1:
    		e.tmp[8] = 1
    		e.tmp[9] = ctPaletted
    	case cbTCA8:
    		e.tmp[8] = 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/image/png/reader.go

    	ctPaletted       = 3
    	ctGrayscaleAlpha = 4
    	ctTrueColorAlpha = 6
    )
    
    // A cb is a combination of color type and bit depth.
    const (
    	cbInvalid = iota
    	cbG1
    	cbG2
    	cbG4
    	cbG8
    	cbGA8
    	cbTC8
    	cbP1
    	cbP2
    	cbP4
    	cbP8
    	cbTCA8
    	cbG16
    	cbGA16
    	cbTC16
    	cbTCA16
    )
    
    func cbPaletted(cb int) bool {
    	return cbP1 <= cb && cb <= cbP8
    }
    
    func cbTrueColor(cb int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  3. src/image/png/reader_test.go

    		containing color.NRGBA{0xff, 0x00, 0x00, 0x7f}:
    			0000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452  .PNG........IHDR
    			0000010: 0000 0001 0000 0001 0803 0000 0028 cb34  .............(.4
    			0000020: bb00 0000 0350 4c54 45ff 0000 19e2 0937  .....PLTE......7
    			0000030: 0000 0001 7452 4e53 7f80 5cb4 cb00 0000  ....tRNS..\.....
    			0000040: 0e49 4441 5478 9c62 6200 0400 00ff ff00  .IDATx.bb.......
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  4. src/regexp/testdata/re2-exhaustive.txt.bz2

    �k�g4qUXc��;�ɓZ�Z��M.��:�i��h;�w(�'U�ں�Y�m'F��ΦXfW 2�ZqY�v_-�o�W�\��E���{@�WVֵN�ǮO �Xk$�p�U�{^�f��c$�NEݞ\��G��|A_���/����䄩�*9*�� ,5RE� K����. (\R�(��JNJIpQS��@�pqH�*E��G\\�ut���$ȦE0�� (��ғ��Id�!������a���X V%Z#�SQLE��EeH�CB4��)h��)�`*4*2��E���QjP�� )��&�O�'B���.�����J�U��J%��`��\R(�X�0�U d��� ��TЦ%L0��0I�ģJA�PUt* �I(�RV�7��y� U�( Q@�U�R����@ɐ%S�R���UPd�$�R��L� @�������RQ$�ɩ���j��Z�� m�I)�ԅ��ѲP�i�Z��� �UkU��ش���'��U ��6�.�EQ��M�j���f6...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 418.2K bytes
    - Viewed (0)
Back to top