- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 56 for dpix (0.14 sec)
-
src/image/jpeg/writer_test.go
// TestWriteGrayscale tests that a grayscale images survives a round-trip // through encode/decode cycle. func TestWriteGrayscale(t *testing.T) { m0 := image.NewGray(image.Rect(0, 0, 32, 32)) for i := range m0.Pix { m0.Pix[i] = uint8(i) } var buf bytes.Buffer if err := Encode(&buf, m0, nil); err != nil { t.Fatal(err) } m1, err := Decode(&buf) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:49:30 UTC 2022 - 7.2K bytes - Viewed (0) -
src/image/ycbcr.go
r = r.Intersect(p.Rect) // If r1 and r2 are Rectangles, r1.Intersect(r2) is not guaranteed to be inside // either r1 or r2 if the intersection is empty. Without explicitly checking for // this, the Pix[i:] expression below can panic. if r.Empty() { return &YCbCr{ SubsampleRatio: p.SubsampleRatio, } } yi := p.YOffset(r.Min.X, r.Min.Y) ci := p.COffset(r.Min.X, r.Min.Y) return &YCbCr{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 8.7K bytes - Viewed (0) -
src/image/gif/writer.go
bw.setup() lzww := lzw.NewWriter(bw, lzw.LSB, litWidth) if dx := b.Dx(); dx == pm.Stride { _, e.err = lzww.Write(pm.Pix[:dx*b.Dy()]) if e.err != nil { lzww.Close() return } } else { for i, y := 0, b.Min.Y; y < b.Max.Y; i, y = i+pm.Stride, y+1 { _, e.err = lzww.Write(pm.Pix[i : i+dx]) if e.err != nil { lzww.Close() return } } } lzww.Close() // flush to bw
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0) -
src/image/gif/writer_test.go
} } func BenchmarkEncodeRandomPaletted(b *testing.B) { paletted := image.NewPaletted(image.Rect(0, 0, 640, 480), palette.Plan9) rnd := rand.New(rand.NewSource(123)) for i := range paletted.Pix { paletted.Pix[i] = uint8(rnd.Intn(256)) } b.SetBytes(640 * 480 * 1) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { Encode(io.Discard, paletted, nil) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 19K bytes - Viewed (0) -
src/image/jpeg/scan.go
qt := &d.quant[d.comp[compIndex].tq] for zig := 0; zig < blockSize; zig++ { b[unzig[zig]] *= qt[zig] } idct(b) dst, stride := []byte(nil), 0 if d.nComp == 1 { dst, stride = d.img1.Pix[8*(by*d.img1.Stride+bx):], d.img1.Stride } else { switch compIndex { case 0: dst, stride = d.img3.Y[8*(by*d.img3.YStride+bx):], d.img3.YStride case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 00:46:29 UTC 2024 - 15.7K bytes - Viewed (0) -
cmd/testdata/xl-meta-merge.zip
ËD{åûå2 ñ OxAvEØåìa¸ÿnf¼Àjq>server˺GgeAêxijesy_êS²g ÆXO¦úÇ}{ém}n~qÐ a·s 5úß$ó0iH}ª1ûâ}· ~® ’‘¼ ÖïÓßCÖ×EˆSRzÛÈìgD<ywyóGK>z{„sZHýF}¼~eÈKoD~I†`Èie¼®HÆzöç. /vf®eeÎ2ûñº`t @Vû+` &*˨AQG¾Wyx¼Pñst¢GZm ]]DJ Ö]ªo^ŠœPÜxNK¦1·SA¿iJtih{CÜqLY®}Va Jfs ck£iyzac‚B^ž ñP¢pïx~Wc÷GbVÕ¨VX{B’axItã^R}p®ÜP ª—!` CþÕ)HFIH¸lãòaJ˪|Oªpkxd4ŽUQõ¤/F}m }hcqtˆßTH}rIj 8|vNH} £_eòèimã2ñ _•[qVçñÑjinwȳÖA`kÖkV{A—}_ò_[«kw«mìigò™go7srQSò]V|q@e2PB÷Ì«öö@ÔþËÚzÙù ÿÌëÙÆ ÿðÌßÜm¼Œ÷cluñ² ôUq}¤ G¢c2 ¾ic÷}VqyˆÂHrbÆø+ xo| jmLô[m}ïZL_ _BVWUx GVÜirxa...
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 30.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"(YCbCrSubsampleRatio).String", Method, 0}, {"Alpha", Type, 0}, {"Alpha.Pix", Field, 0}, {"Alpha.Rect", Field, 0}, {"Alpha.Stride", Field, 0}, {"Alpha16", Type, 0}, {"Alpha16.Pix", Field, 0}, {"Alpha16.Rect", Field, 0}, {"Alpha16.Stride", Field, 0}, {"Black", Var, 0}, {"CMYK", Type, 5}, {"CMYK.Pix", Field, 5}, {"CMYK.Rect", Field, 5}, {"CMYK.Stride", Field, 5},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/main/webapp/js/admin/popper.min.js.map
still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nexport default function getRoundedOffsets(data, shouldRound)...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Fri Feb 07 10:28:50 UTC 2020 - 121K bytes - Viewed (0) -
api/go1.5.txt
pkg image, method (Rectangle) At(int, int) color.Color pkg image, method (Rectangle) Bounds() Rectangle pkg image, method (Rectangle) ColorModel() color.Model pkg image, type CMYK struct pkg image, type CMYK struct, Pix []uint8 pkg image, type CMYK struct, Rect Rectangle pkg image, type CMYK struct, Stride int pkg image/color, func CMYKToRGB(uint8, uint8, uint8, uint8) (uint8, uint8, uint8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
samples/bookinfo/src/productpage/static/tailwind/tailwind.css
i(e),toString:()=>e.toString()}}});var Em=v((o4,Om)=>{l();var M2=Am(),B2=Ut(),Wo=le(),F2=/(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi,L2=/(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i,_m=class extends B2{prefixName(e,t){return e==="-moz-"?t+"--moz-device-pixel-ratio":e+t+"-device-pixel-ratio"}prefixQuery(e,t,r,n,a){return n=new M2(n),a==="dpi"?n=n.div(96):a==="dpcm"&&(n=n.mul(2.54).div(96)),n=n.simplify(),e==="-o-"&&(n=n.n+"/"+n.d),this.prefixName(e,t)+r+n}clean(e){if...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 14:48:01 UTC 2024 - 357.1K bytes - Viewed (1)