[{"data":1,"prerenderedAt":309},["ShallowReactive",2],{"navigation_docs":3,"-use-cases-images-cors":139,"-use-cases-images-cors-surround":305},[4,55,89],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":54},"API","i-lucide-braces","\u002Fapi","api",[10,14,18,22,26,30,34,38,42,46,50],{"title":11,"path":12,"stem":13},"Html2Pdf Component","\u002Fapi\u002Fcomponent","api\u002F01.component",{"title":15,"path":16,"stem":17},"Core Props","\u002Fapi\u002Fprops","api\u002F02.props",{"title":19,"path":20,"stem":21},"Headers","\u002Fapi\u002Fheaders","api\u002F03.headers",{"title":23,"path":24,"stem":25},"Footers","\u002Fapi\u002Ffooters","api\u002F04.footers",{"title":27,"path":28,"stem":29},"Security","\u002Fapi\u002Fsecurity","api\u002F05.security",{"title":31,"path":32,"stem":33},"Watermarks","\u002Fapi\u002Fwatermarks","api\u002F06.watermarks",{"title":35,"path":36,"stem":37},"Metadata & Compression","\u002Fapi\u002Fmetadata-compression","api\u002F07.metadata-compression",{"title":39,"path":40,"stem":41},"Programmatic API","\u002Fapi\u002Fprogrammatic-api","api\u002F08.programmatic-api",{"title":43,"path":44,"stem":45},"Loader, Progress, Events & Slots","\u002Fapi\u002Fevents-slots","api\u002F09.events-slots",{"title":47,"path":48,"stem":49},"TypeScript","\u002Fapi\u002Ftypescript","api\u002F10.typescript",{"title":51,"path":52,"stem":53},"Full README Reference","\u002Fapi\u002Ffull-reference","api\u002F11.full-reference",false,{"title":56,"icon":57,"path":58,"stem":59,"children":60,"page":54},"Get Started","i-lucide-book-open","\u002Fget-started","get-started",[61,65,69,73,77,81,85],{"title":62,"path":63,"stem":64},"Introduction","\u002Fget-started\u002Fintroduction","get-started\u002F01.introduction",{"title":66,"path":67,"stem":68},"Installation","\u002Fget-started\u002Finstallation","get-started\u002F02.installation",{"title":70,"path":71,"stem":72},"Quick Start","\u002Fget-started\u002Fquick-start","get-started\u002F03.quick-start",{"title":74,"path":75,"stem":76},"Rendering Modes","\u002Fget-started\u002Frendering-modes","get-started\u002F04.rendering-modes",{"title":78,"path":79,"stem":80},"Component Registration","\u002Fget-started\u002Fregistration","get-started\u002F05.registration",{"title":82,"path":83,"stem":84},"Preview & Download","\u002Fget-started\u002Fpreview-download","get-started\u002F06.preview-download",{"title":86,"path":87,"stem":88},"Pagination","\u002Fget-started\u002Fpagination","get-started\u002F07.pagination",{"title":90,"icon":91,"path":92,"stem":93,"children":94,"page":54},"Use Cases","i-lucide-flask-conical","\u002Fuse-cases","use-cases",[95,99,103,107,111,115,119,123,127,131,135],{"title":96,"path":97,"stem":98},"Playground","\u002Fuse-cases\u002Fplayground","use-cases\u002F01.playground",{"title":100,"path":101,"stem":102},"Selectable Text","\u002Fuse-cases\u002Fselectable-text","use-cases\u002F02.selectable-text",{"title":104,"path":105,"stem":106},"Clickable PDF Links","\u002Fuse-cases\u002Fclickable-links","use-cases\u002F03.clickable-links",{"title":108,"path":109,"stem":110},"Images & CORS","\u002Fuse-cases\u002Fimages-cors","use-cases\u002F04.images-cors",{"title":112,"path":113,"stem":114},"Production Guide","\u002Fuse-cases\u002Fproduction-guide","use-cases\u002F05.production-guide",{"title":116,"path":117,"stem":118},"Troubleshooting","\u002Fuse-cases\u002Ftroubleshooting","use-cases\u002F06.troubleshooting",{"title":120,"path":121,"stem":122},"Testing & Browser Support","\u002Fuse-cases\u002Ftesting-browser-support","use-cases\u002F07.testing-browser-support",{"title":124,"path":125,"stem":126},"Performance Engineering","\u002Fuse-cases\u002Fperformance-engineering","use-cases\u002F08.performance-engineering",{"title":128,"path":129,"stem":130},"Full Performance Engineering Report","\u002Fuse-cases\u002Fperformance-report","use-cases\u002F09.performance-report",{"title":132,"path":133,"stem":134},"Community & Feedback","\u002Fuse-cases\u002Fcommunity","use-cases\u002F10.community",{"title":136,"path":137,"stem":138},"Acknowledgements","\u002Fuse-cases\u002Facknowledgements","use-cases\u002F11.acknowledgements",{"id":140,"title":108,"body":141,"description":151,"extension":299,"links":300,"meta":301,"navigation":302,"path":109,"seo":303,"stem":110,"__hash__":304},"docs\u002Fuse-cases\u002F04.images-cors.md",{"type":142,"value":143,"toc":297},"minimark",[144,148,152,155,202,205,221,224,290,293],[145,146,108],"h1",{"id":147},"images-cors",[149,150,151],"p",{},"Remote images must be accessible to the browser during rendering.",[149,153,154],{},"Recommended:",[156,157,162],"pre",{"className":158,"code":159,"language":160,"meta":161,"style":161},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","html2canvas: {\n  useCORS: true,\n}\n","ts","",[163,164,165,181,196],"code",{"__ignoreMap":161},[166,167,170,174,178],"span",{"class":168,"line":169},"line",1,[166,171,173],{"class":172},"sBMFI","html2canvas",[166,175,177],{"class":176},"sMK4o",":",[166,179,180],{"class":176}," {\n",[166,182,184,187,189,193],{"class":168,"line":183},2,[166,185,186],{"class":172},"  useCORS",[166,188,177],{"class":176},[166,190,192],{"class":191},"sfNiH"," true",[166,194,195],{"class":176},",\n",[166,197,199],{"class":168,"line":198},3,[166,200,201],{"class":176},"}\n",[149,203,204],{},"For external images:",[206,207,208,212,215,218],"ul",{},[209,210,211],"li",{},"configure appropriate CORS headers",[209,213,214],{},"avoid inaccessible authenticated image URLs",[209,216,217],{},"prefer data URLs for critical logos when practical",[209,219,220],{},"preserve image aspect ratio",[149,222,223],{},"Normal content image CSS:",[156,225,229],{"className":226,"code":227,"language":228,"meta":161,"style":161},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",".pdf-root img {\n  max-width: 100%;\n  height: auto;\n  object-fit: contain;\n}\n","css",[163,230,231,244,259,272,285],{"__ignoreMap":161},[166,232,233,236,239,242],{"class":168,"line":169},[166,234,235],{"class":176},".",[166,237,238],{"class":172},"pdf-root",[166,240,241],{"class":172}," img",[166,243,180],{"class":176},[166,245,246,250,252,256],{"class":168,"line":183},[166,247,249],{"class":248},"sqsOY","  max-width",[166,251,177],{"class":176},[166,253,255],{"class":254},"sbssI"," 100%",[166,257,258],{"class":176},";\n",[166,260,261,264,266,270],{"class":168,"line":198},[166,262,263],{"class":248},"  height",[166,265,177],{"class":176},[166,267,269],{"class":268},"sTEyZ"," auto",[166,271,258],{"class":176},[166,273,275,278,280,283],{"class":168,"line":274},4,[166,276,277],{"class":248},"  object-fit",[166,279,177],{"class":176},[166,281,282],{"class":268}," contain",[166,284,258],{"class":176},[166,286,288],{"class":168,"line":287},5,[166,289,201],{"class":176},[149,291,292],{},"Header\u002Ffooter logo sizing is already aspect-ratio-safe internally. Their width and height props define maximum bounds instead of forced image dimensions.",[294,295,296],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sqsOY, html code.shiki .sqsOY{--shiki-light:#8796B0;--shiki-default:#B2CCD6;--shiki-dark:#B2CCD6}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":161,"searchDepth":183,"depth":183,"links":298},[],"md",null,{},true,{"title":108,"description":151},"HLTtpJks3_Ih7ZMtpwVlI0bq0i3PshDfsQdpwUA5kK4",[306,308],{"title":104,"path":105,"stem":106,"description":307,"children":-1},"Enable PDF links through htmlToPdfOptions.enableLinks:",{"title":112,"path":113,"stem":114,"description":161,"children":-1},1788876783309]