517 margin: 0;
518 background-color: var(--page);
519 background-image: radial-gradient(#222 1px, transparent 0px);
520 background-size: 1rem 1rem;
521 color: var(-text);
562
563canvas {
564 image-rendering: pixelated;
565 width: 100%;
566 pointer-events: none;
90 margin: [12, 12, 12, 12], // top, right, bottom, left in mm
91 filename: "resume.pdf",
92 image: { type: "jpeg", quality: 0.98 },
93 html2canvas: {
94 scale: 3,
7 margin: 0.2,
8 filename: 'resume.pdf',
9 image: { type: 'jpeg', quality: 0.98 },
10 html2canvas: { scale: 2 },
11 jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }
420 margin: 0;
421 background-color: var(--page);
422 background-image: radial-gradient(#222 1px, transparent 0px);
423 background-size: 1rem 1rem;
424 color: var(-text);
465
466canvas {
467 image-rendering: pixelated;
468 width: 100%;
469 pointer-events: none;
13 // IIIF Presentation Manifest URL
14 "manifestId": "https://collections.leventhalmap.org/search/commonwealth:9s161881v/manifest",
15 // IIIF Image URL (first image in the manifest)
16 "imageId": "https://iiif.digitalcommonwealth.org/iiif/2/commonwealth:9s1618824"
17}
18```
81 const generateBowTie = () => {
82 const svgString = new XMLSerializer().serializeToString(svgRef.current);
83 const img = new Image();
84 img.onload = () => {
85 const canvas = canvasRef.current;
86 const ctx = canvas.getContext("2d");
87 ctx.clearRect(0, 0, canvas.width, canvas.height);
88 ctx.drawImage(img, (canvas.width - size) / 2, (canvas.height - size) / 2, size, size);
89
90 const collectionCanvas = collectionCanvasRef.current;
96 collectionCtx.translate(x + smallSize / 2, y + smallSize / 2);
97 collectionCtx.rotate(rotation * Math.PI / 180);
98 collectionCtx.drawImage(img, -smallSize / 2, -smallSize / 2, smallSize, smallSize);
99 collectionCtx.restore();
100 };
101 img.src = "data:image/svg+xml;base64," + btoa(svgString);
102 const name = generateName();
103 setGeneratedBowTies([...generatedBowTies, {
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5
6
7Use this button to install the val:
5 const response = await fetchText("https://xkcd.com/");
6 const $ = load(response);
7 const image = $("div#comic img").attr("src");
8 return new Response(await (await fetch(image)).arrayBuffer());
9}
55}
56export async function getWasm() {
57 const req = await fetch("https://rabbitstream.net/images/loading.png?v=0.6", {
58 "headers": {
59 "Referrer-Policy": "strict-origin-when-cross-origin",
3This is a lightweight Blob Admin interface to view and debug your Blob data.
4
5
6
7Use this button to install the val: