https://imagesizechecker.com/_next/static/chunks/app/%5Blocale%5D/(default)/page-a9a2491b45912cc0.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4598],{3:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>h,defaultGalleryExamples:()=>u,defaultGigapixelFeatures:()=>m,defaultUnblurFeatures:()=>g});var a=r(3220),i=r(4184),s=r(3281),l=r.n(s),n=r(780),o=r(1717);function c(e){let{items:t}=e,[r,s]=(0,i.useState)(0),[l,c]=(0,i.useState)(50),[d,u]=(0,i.useState)(!1),g=(0,i.useRef)(null),m=t[r],h=e=>{if(g.current){let t=g.current.getBoundingClientRect(),r=t.width;c(Math.max(0,Math.min(100,(e-t.left)/r*100)))}};return(0,i.useEffect)(()=>{let e=e=>{d&&h(e.clientX)},t=()=>{u(!1)},r=e=>{d&&e.touches.length>0&&h(e.touches[0].clientX)},a=()=>{u(!1)};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),window.addEventListener("touchmove",r,{passive:!1}),window.addEventListener("touchend",a),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t),window.removeEventListener("touchmove",r),window.removeEventListener("touchend",a)}},[d]),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{className:"bg-[#121212] rounded-xl overflow-hidden shadow-xl border border-[#333333]",children:(0,a.jsxs)("div",{ref:g,className:"relative w-full aspect-[16/9] overflow-hidden ".concat(d?"cursor-grabbing":"cursor-grab"),onMouseDown:e=>{e.preventDefault(),u(!0),h(e.clientX)},onMouseMove:e=>{d&&h(e.clientX)},onMouseUp:()=>{u(!1)},onTouchStart:e=>{e.preventDefault(),u(!0),e.touches.length>0&&h(e.touches[0].clientX)},onTouchMove:e=>{d&&e.touches.length>0&&h(e.touches[0].clientX)},onTouchEnd:()=>{u(!1)},children:[(0,a.jsx)("div",{className:"absolute inset-0",children:(0,a.jsx)("img",{src:m.afterImage,alt:"".concat(m.title," - After"),className:"w-full h-full object-contain",draggable:"false"})}),(0,a.jsx)("div",{className:"absolute inset-0 z-10",style:{clipPath:"inset(0 ".concat(100-l,"% 0 0)")},children:(0,a.jsx)("img",{src:m.beforeImage,alt:"".concat(m.title," - Before"),className:"w-full h-full object-contain",draggable:"false"})}),(0,a.jsxs)("div",{className:"absolute inset-0 pointer-events-none select-none",children:[(0,a.jsx)("div",{className:"absolute top-1/2 bg-white rounded-full flex items-center justify-center z-30",style:{width:"32px",height:"32px",left:"".concat(l,"%"),transform:"translate(-50%, -50%)",boxShadow:"0 1px 3px rgba(0,0,0,0.15)"},children:(0,a.jsxs)("div",{className:"flex items-center justify-center",children:[(0,a.jsx)(n.A,{className:"w-4 h-4 text-gray-800"}),(0,a.jsx)(o.A,{className:"w-4 h-4 text-gray-800"})]})}),(0,a.jsx)("div",{className:"absolute top-0 bottom-0 bg-white z-20",style:{width:"2px",left:"".concat(l,"%"),transform:"translateX(-50%)",opacity:.8}})]}),(0,a.jsx)("div",{className:"absolute bottom-4 left-4 z-30 bg-black/60 rounded px-3 py-1 text-white text-sm font-medium",children:"Before"}),(0,a.jsx)("div",{className:"absolute bottom-4 right-4 z-30 bg-black/60 rounded px-3 py-1 text-white text-sm font-medium",children:"After"})]})})})}function d(e){let{title:t,description:r,ctaText:i,ctaLink:s,galleryItems:n,imageSrc:o,imageAlt:d,textLeft:u=!0,accent:g="indigo",bgColor:m="bg-gray-50 dark:bg-gray-900"}=e,h={indigo:"text-indigo-600",blue:"text-blue-600",purple:"text-purple-600",teal:"text-primary",orange:"text-orange-500"};h[g]||h.indigo;let p={indigo:"bg-gradient-to-r from-indigo-600 to-indigo-700 hover:from-indigo-700 hover:to-indigo-800",blue:"bg-gradient-to-r from-blue-600 to-blue-700 hover:from-blue-700 hover:to-blue-800",purple:"bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700",teal:"bg-gradient-to-r from-emerald-500 to-primary hover:from-emerald-600 hover:to-primary/90",orange:"bg-gradient-to-r from-orange-500 to-orange-600 hover:from-orange-600 hover:to-orange-700"},f=p[g]||p.indigo,b=m.includes("bg-white")||m.includes("bg-gray-50")||m.includes("bg-[#F5F5F5]"),x=(0,a.jsxs)("div",{className:"flex flex-col justify-center lg:pr-10 lg:pl-10",children:[(0,a.jsx)("h2",{className:"text-3xl font-bold mb-4 ".concat(b?"text-gray-900 dark:text-white":"text-white"),children:t}),(0,a.jsx)("div",{className:"text-lg mb-6 ".concat(b?"text-gray-700 dark:text-gray-200":"text-gray-200"," leading-relaxed"),dangerouslySetInnerHTML:{__html:r}}
1),i&&s&&(0,a.jsx)("div",{children:(0,a.jsx)(l(),{href:s,className:"inline-block px-8 py-4 rounded-full text-white font-medium ".concat(f," transition-all transform hover:scale-105 shadow-lg"),children:i})})]}),v=(0,a.jsx)("div",{className:"flex justify-center items-center",children:n?(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(c,{items:n})}):o?(0,a.jsx)("img",{src:o,alt:d||t,className:"rounded-lg shadow-lg w-full h-auto max-h-[500px] object-cover"}):null});return(0,a.jsx)("section",{className:"py-16 md:py-24 ".concat(m),children:(0,a.jsx)("div",{className:"container px-4 mx-auto",children:(0,a.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"order-2 lg:order-1",children:x}),(0,a.jsx)("div",{className:"order-1 lg:order-2",children:v})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"order-1 lg:order-2",children:x}),(0,a.jsx)("div",{className:"order-1 lg:order-1",children:v})]})})})})}let u={portraits:[{id:"portrait-1",title:"Portrait Enhancement",description:"Facial detail recovery and sharpening",beforeImage:"https://replicate.delivery/mgxm/6c1f5af2-825c-4ded-a4c1-339a58a0347c/187400981-8a58f7a4-ef61-42d9-af80-bc6234cef860.jpg",afterImage:"https://replicate.delivery/mgxm/abab834a-81ec-42f1-a415-7035ae55707a/output.png"}],memories:[{id:"memory-1",title:"Old Photo Restoration",description:"Revive cherished memories with enhanced clarity",beforeImage:"https://cfcdn.apowersoft.info/astro/picwish/_astro/portrait-img-before.ChNbbNGW.png",afterImage:"https://cfcdn.apowersoft.info/astro/picwish/_astro/portrait-img-after.lcpbtT00.png"}],documents:[{id:"document-1",title:"Document Clarity",description:"Improve text readability in scanned documents",beforeImage:"https://cfcdn.apowersoft.info/astro/picwish/_astro/various-before-en.Dvde1u-p.png",afterImage:"https://cfcdn.apowersoft.info/astro/picwish/_astro/various-after-en.CZ5M0igt.png"}],landscapes:[{id:"landscape-1",title:"Landscape Enhancement",description:"Bring out details in scenic photography",beforeImage:"https://replicate.delivery/mgxm/26d87fc6-3843-4680-9f92-9970de2e5a61/187401133-8a3bf269-5b4d-4432-b2f0-6d26ee1d3307.png",afterImage:"https://replicate.delivery/mgxm/4fbbce6e-daa9-45c0-bdf1-1c14ade7fdeb/output.png"}]},g=[{title:"Restore Cherished Memories",description:"Breathe new life into your old family photos with AI-powered clarity enhancement. <strong>Unblur Image</strong> can recover lost details, remove blur caused by camera shake, and enhance facial features to help you preserve precious memories in stunning detail.",ctaText:"Try Now",ctaLink:"/unblur-image",galleryItems:u.portraits,textLeft:!0,accent:"blue",bgColor:"bg-white dark:bg-gray-800"},{title:"Upscale While Unblurring",description:"Not only can our AI correct blur, it can simultaneously increase image resolution up to 4x. Make photos crisp and sharp even when enlarged for high-resolution prints or large displays. Perfect for presentations, professional printing, and digital archiving.",galleryItems:u.landscapes,textLeft:!1,accent:"purple",bgColor:"bg-white dark:bg-gray-900"},{title:"Enhance Text Readability",description:"Make blurry documents readable again with intelligent text enhancement. Our AI technology is specially trained to recognize and sharpen text, making it ideal for:<ul class='list-disc pl-5 mt-3 space-y-1'><li>Scanned documents</li><li>Photos of text</li><li>Old books and manuscripts</li><li>Blurry screenshots</li></ul>",galleryItems:u.documents,textLeft:!0,accent:"teal",bgColor:"bg-white dark:bg-gray-800"},{title:"Rescue Motion-Blurred Photos",description:"Don't let camera shake ruin your perfect moment. Our advanced deblurring algorithm can detect and correct motion blur, recovering details that you thought were lost forever. Works especially well for:<ul class='list-disc pl-5 mt-3 space-y-1'><li>Low light photos</li><li>Action shots</li><li>Handheld photography</li><li>Zoom lens photography</li></ul>",ctaText:"Unblur Now",ctaLink:"/unblur-image",galleryItems:u.memories,textLeft:!1,accent:"orange",bgColor:"bg-white dark:bg-gray-900"}],m=[{title:"Enhance Image Resolution",description:"Transform your low-resolution images into stunning high-quality visuals with <strong>Gigapixel AI</strong>. Our advanced image upscaling technology intelligently enhances details while preserving natural textures for professional-quality results.",ctaText:"Try Now",ctaLink:"/#playground",galleryItems:u.landscapes,textLeft:!0,accent:"blue",bgColor:"bg-white dark:bg-gray-800"},{title:"Multi-Category Optimization",description:"Gigapixel AI delivers tailored enhancement for different image types including portraits, landscapes, and artwork. Each category receives specialized processing to preserve its unique characteristics and ensure optimal results.",galleryItems:u.portraits,textLeft:!1,accent:"purple",bgColor:"bg-gray-50 dark:bg-gray-900"},{title:"Preserve Authentic Details",description:"Unlike conventional resizing tools that simply stretch pixels, Gigapixel AI analyzes your images and intelligently reconstructs details for natural-looking results. Perfect for:<ul class='list-disc pl-5 mt-3 space-y-1'><li>Printing enlargements</li><li>Restoring old photos</li><li>Professional presentations</li><li>Digital art upscaling</li></ul>",galleryItems:u.memories,textLeft:!0,accent:"teal",bgColor:"bg-white dark:bg-gray-800"},{title:"Batch Processing",description:"Save time with our efficient batch processing. Upload multiple images at once and enhance them all with a single click. Perfect for:<ul class='list-disc pl-5 mt-3 space-y-1'><li>Photographers with large collections</li><li>E-commerce product images</li><li>Digital archives</li><li>Marketing materials</li></ul>",ctaText:"Start Upscaling",ctaLink:"/#playground",galleryItems:u.documents,textLeft:!1,accent:"orange",bgColor:"bg-gray-50 dark:bg-gray-900"}];function h(e){let{features:t,className:r=""}=e;return t&&0!==t.length?(0,a.jsx)("div",{className:"bg-gray-900 ".concat(r),children:t.map((e,t)=>
1(0,a.jsx)(d,{title:e.title,description:e.description,ctaText:e.ctaText,ctaLink:e.ctaLink,galleryItems:e.galleryItems,textLeft:e.textLeft,accent:e.accent,bgColor:e.bgColor},"feature-".concat(t)))}):(console.warn("FeaturesShowcase: No features provided"),null)}},780:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(3243).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},1283:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(3220),i=r(4184),s=r(5010),l=r(5063);function n(){let e=(0,s.useRouter)(),t=(0,s.useSearchParams)();return(0,i.useEffect)(()=>{let r=t.get("success"),a=t.get("canceled");if("true"===r){l.oR.success("Subscription activated successfully! You can now enjoy premium features.");let t=window.location.pathname;e.replace(t)}else if("true"===a){l.oR.info("Subscription process cancelled");let t=window.location.pathname;e.replace(t)}},[t,e]),null}function o(){return(0,a.jsx)(i.Suspense,{fallback:null,children:(0,a.jsx)(n,{})})}},1717:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(3243).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},3839:(e,t,r)=>{Promise.resolve().then(r.bind(r,8865)),Promise.resolve().then(r.bind(r,1387)),Promise.resolve().then(r.bind(r,3)),Promise.resolve().then(r.bind(r,3195)),Promise.resolve().then(r.bind(r,1283))},5010:(e,t,r)=>{"use strict";var a=r(7078);r.o(a,"useParams")&&r.d(t,{useParams:function(){return a.useParams}}),r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})}},e=>{var t=t=>e(e.s=t);e.O(0,[5719,5221,7136,9077,5063,8105,1757,86,1055,7358],()=>t(3839)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.