- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for cmyk (0.04 sec)
-
src/image/testdata/video-001.cmyk.jpeg
video-001.cmyk.jpeg...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 16 00:25:47 UTC 2015 - 19K bytes - Viewed (0) -
src/image/testdata/video-001.cmyk.png
video-001.cmyk.png...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 16 00:25:47 UTC 2015 - 24.8K bytes - Viewed (0) -
api/go1.5.txt
pkg image, func NewCMYK(Rectangle) *CMYK pkg image, method (*CMYK) At(int, int) color.Color pkg image, method (*CMYK) Bounds() Rectangle pkg image, method (*CMYK) CMYKAt(int, int) color.CMYK pkg image, method (*CMYK) ColorModel() color.Model pkg image, method (*CMYK) Opaque() bool pkg image, method (*CMYK) PixOffset(int, int) int pkg image, method (*CMYK) Set(int, int, color.Color)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
src/image/color/ycbcr.go
} // CMYKToRGB converts a [CMYK] quadruple to an RGB triple. func CMYKToRGB(c, m, y, k uint8) (uint8, uint8, uint8) { w := 0xffff - uint32(k)*0x101 r := (0xffff - uint32(c)*0x101) * w / 0xffff g := (0xffff - uint32(m)*0x101) * w / 0xffff b := (0xffff - uint32(y)*0x101) * w / 0xffff return uint8(r >> 8), uint8(g >> 8), uint8(b >> 8) } // CMYK represents a fully opaque CMYK color, having 8 bits for each of cyan,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 10.8K bytes - Viewed (0) -
src/image/image.go
} func (p *CMYK) CMYKAt(x, y int) color.CMYK { if !(Point{x, y}.In(p.Rect)) { return color.CMYK{} } i := p.PixOffset(x, y) s := p.Pix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857 return color.CMYK{s[0], s[1], s[2], s[3]} } // PixOffset returns the index of the first element of Pix that corresponds to // the pixel at (x, y). func (p *CMYK) PixOffset(x, y int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 34.9K bytes - Viewed (0) -
src/image/decode_test.go
{"testdata/video-001.png", "testdata/video-001.progressive.jpeg", 8 << 8}, {"testdata/video-001.221212.png", "testdata/video-001.221212.jpeg", 8 << 8}, {"testdata/video-001.cmyk.png", "testdata/video-001.cmyk.jpeg", 8 << 8}, {"testdata/video-001.rgb.png", "testdata/video-001.rgb.jpeg", 8 << 8}, {"testdata/video-001.progressive.truncated.png", "testdata/video-001.progressive.truncated.jpeg", 8 << 8}, // Grayscale images.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:51:48 UTC 2019 - 3.7K bytes - Viewed (0) -
src/image/jpeg/reader.go
} return d.img3, nil } return nil, FormatError("missing SOS marker") } // applyBlack combines d.img3 and d.blackPix into a CMYK image. The formula // used depends on whether the JPEG image is stored as CMYK or YCbCrK, // indicated by the APP14 (Adobe) metadata. // // Adobe CMYK JPEG images are inverted, where 255 means no ink instead of full // ink, so we apply "v = 255 - v" at various points. Note that a double
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 22.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/composite/whitelist.go
var unkeyedLiteral = map[string]bool{ // These image and image/color struct types are frozen. We will never add fields to them. "image/color.Alpha16": true, "image/color.Alpha": true, "image/color.CMYK": true, "image/color.Gray16": true, "image/color.Gray": true, "image/color.NRGBA64": true, "image/color.NRGBA": true, "image/color.NYCbCrA": true, "image/color.RGBA64": true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 00:08:36 UTC 2022 - 1.1K bytes - Viewed (0) -
src/image/color/ycbcr_test.go
c, m, y, k, r1, g1, b1, r2, g2, b2) } } } } } } // TestCMYKGray tests that CMYK colors are a superset of Gray colors. func TestCMYKGray(t *testing.T) { for i := 0; i < 256; i++ { if err := eq(CMYK{0x00, 0x00, 0x00, uint8(255 - i)}, Gray{uint8(i)}); err != nil { t.Errorf("i=0x%02x:\n%v", i, err) } } } func TestPalette(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 07:51:17 UTC 2016 - 7.3K bytes - Viewed (0) -
src/image/draw/bench_test.go
case color.CMYKModel: src1 := image.NewCMYK(image.Rect(0, 0, srcw, srch)) for y := 0; y < srch; y++ { for x := 0; x < srcw; x++ { src1.SetCMYK(x, y, color.CMYK{ uint8(13 * x % 0x100), uint8(11 * y % 0x100), uint8((11*x + 13*y) % 0x100), uint8((31*x + 37*y) % 0x100), }) } } src = src1 case color.GrayModel:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 18:07:05 UTC 2023 - 6.6K bytes - Viewed (0)