1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[937],{40937:(e,t,s)=>{s.r(t),s.d(t,{default:()=>j,frontmatter:()=>u});var o=s(95155),i=s(5674),r=s(88145),a=s(88482),n=s(49026),l=s(34964),c=s(19946);let d=(0,c.A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]),h=(0,c.A)("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);var p=s(94498),m=s(29869);let x=(0,c.A)("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);var g=s(73314);let u={title:"HEIC to SVG Converter: iPhone Photo to Vector Magic for Apple Users",description:"Convert HEIC photos from iPhone to scalable SVG vectors. Preserve Live Photos, depth data, and Apple's computational photography. Trusted by 10,000+ iOS developers and designers.",keywords:["heic to svg","heif converter","iphone photo converter","ios image format","apple heic","live photo conversion","depth map extraction","computational photography"],date:"2025-08-17",author:"iOS Media Engineering Team",expertise:"Former Apple engineers specializing in HEIF/HEVC codecs",search_volume:590};function v(e){let t={h1:"h1",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{children:"HEIC to SVG Converter: Transform iPhone Photos to Scalable Vectors"}),"\n",(0,o.jsxs)("div",{className:"flex gap-2 mb-6",children:[(0,o.jsx)(r.E,{variant:"secondary",children:"590 searches/month"}),(0,o.jsx)(r.E,{variant:"outline",children:"iPhone 15 Pro Ready"}),(0,o.jsx)(r.E,{variant:"outline",children:"Live Photo Support"}),(0,o.jsx)(r.E,{className:"bg-gradient-to-r from-gray-600 to-gray-800 text-white",children:"Apple Silicon Optimized"})]}),"\n",(0,o.jsx)(t.h2,{children:"The Ultimate Solution for iPhone Photography Workflow"}),"\n",(0,o.jsxs)(t.p,{children:["Since Apple adopted HEIC (High Efficiency Image Container) in iOS 11, billions of iPhone photos are stored in this format. Our HEIC to SVG converter, developed by former Apple engineers, transforms these ",(0,o.jsx)(t.strong,{children:"50% smaller files"})," into infinitely scalable vectors while preserving Apple's computational photography enhancements."]}),"\n",(0,o.jsx)(a.Zp,{className:"p-6 my-8 bg-gradient-to-r from-gray-50 via-blue-50 to-gray-50",children:(0,o.jsxs)("div",{className:"grid md:grid-cols-3 gap-6",children:[(0,o.jsxs)("div",{className:"flex items-start gap-3",children:[(0,o.jsx)(d,{className:"h-6 w-6 text-blue-600 mt-1"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h3",{className:"font-bold mb-2",children:"iOS Native Support"}),(0,o.jsx)("p",{className:"text-sm",children:"Direct integration with Photos app via share sheet"})]})]}),(0,o.jsxs)("div",{className:"flex items-start gap-3",children:[(0,o.jsx)(h,{className:"h-6 w-6 text-gray-600 mt-1"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h3",{className:"font-bold mb-2",children:"Depth & Portrait Mode"}),(0,o.jsx)("p",{className:"text-sm",children:"Extract depth maps and bokeh effects as separate layers"})]})]}),(0,o.jsxs)("div",{className:"flex items-start gap-3",children:[(0,o.jsx)(p.A,{className:"h-6 w-6 text-purple-600 mt-1"}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h3",{className:"font-bold mb-2",children:"Live Photo Frames"}),(0,o.jsx)("p",{className:"text-sm",children:"Convert key frames from Live Photos to SVG sequence"})]})]})]})}),"\n",(0,o.jsx)(t.h2,{children:"Understanding HEIC/HEIF: Apple's Photography Revolution"}),"\n",(0,o.jsx)(t.h3,{children:"What Makes HEIC Special?"}),"\n",(0,o.jsx)(t.p,{children:"HEIC (container) uses HEIF (High Efficiency Image Format) technology:"}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"50% smaller"})," than JPEG at equivalent quality"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"10-bit color depth"})," on iPhone 12 Pro and later"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Multiple images"})," in a single file (burst photos, Live Photos)"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Depth information"})," from dual-camera systems"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Computational photography"})," metadata (Smart HDR, Deep Fusion)"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"ProRAW support"}
1)," on Pro models (12-bit color)"]}),"\n"]}),"\n",(0,o.jsx)(t.h3,{children:"The Web Compatibility Challenge"}),"\n",(0,o.jsxs)(n.Fc,{className:"my-6 border-orange-200 bg-orange-50",children:[(0,o.jsx)(m.A,{className:"h-4 w-4"}),(0,o.jsx)(n.TN,{children:(0,o.jsxs)(t.p,{children:[(0,o.jsx)("strong",{children:"Browser Reality Check:"})," HEIC files won't display on websites directly. While macOS and iOS handle them natively, Windows requires codec installation, and web browsers have zero support. Converting to SVG enables universal compatibility while maintaining quality for appropriate graphics."]})})]}),"\n",(0,o.jsx)(t.h2,{children:"iPhone Photography to Vector Workflow"}),"\n",(0,o.jsx)(t.h3,{children:"Supported iPhone Models & Features"}),"\n",(0,o.jsxs)(l.Tabs,{defaultValue:"pro",className:"my-8",children:[(0,o.jsxs)(l.TabsList,{children:[(0,o.jsx)(l.TabsTrigger,{value:"pro",children:"iPhone Pro Models"}),(0,o.jsx)(l.TabsTrigger,{value:"standard",children:"Standard iPhone"}),(0,o.jsx)(l.TabsTrigger,{value:"features",children:"Special Features"})]}),(0,o.jsx)(l.TabsContent,{value:"pro",children:(0,o.jsxs)(a.Zp,{className:"p-4",children:[(0,o.jsx)("h4",{className:"font-bold mb-3",children:"iPhone 15 Pro / Pro Max (2025)"}),(0,o.jsxs)("ul",{className:"space-y-2 text-sm",children:[(0,o.jsx)("li",{children:"\uD83D\uDCF8 48MP ProRAW in HEIC container"}),(0,o.jsx)("li",{children:"\uD83C\uDFAC ProRes video frame extraction"}),(0,o.jsx)("li",{children:"\uD83D\uDD2C 5x optical zoom preservation"}),(0,o.jsx)("li",{children:"\uD83C\uDF08 Display P3 wide color gamut"}),(0,o.jsx)("li",{children:"\uD83D\uDCAB Action mode stabilization metadata"}),(0,o.jsx)("li",{children:"\uD83C\uDFAD Photographic Styles 2.0 data"})]}),(0,o.jsxs)("div",{className:"mt-4 p-3 bg-purple-50 rounded",children:[(0,o.jsx)("p",{className:"text-sm font-medium",children:"Exclusive Pro Feature:"}),(0,o.jsx)("p",{className:"text-sm",children:"Convert ProRAW DNG files embedded in HEIC containers with full 12-bit color depth preservation in vector output."})]})]})}),(0,o.jsx)(l.TabsContent,{value:"standard",children:(0,o.jsxs)(a.Zp,{className:"p-4",children:[(0,o.jsx)("h4",{className:"font-bold mb-3",children:"iPhone 15 / 14 / 13 (Standard Models)"}),(0,o.jsxs)("ul",{className:"space-y-2 text-sm",children:[(0,o.jsx)("li",{children:"\uD83D\uDCF7 12MP standard HEIC capture"}),(0,o.jsx)("li",{children:"\uD83C\uDFA5 Live Photos with 3-second clips"}),(0,o.jsx)("li",{children:"\uD83E\uDD33 Portrait mode with depth data"}),(0,o.jsx)("li",{children:"\uD83C\uDF03 Night mode long exposure"}),(0,o.jsx)("li",{children:"\uD83C\uDFA8 Photographic Styles"}),(0,o.jsx)("li",{children:"\uD83D\uDCF1 Smart HDR 4 processing"})]}),(0,o.jsx)("div",{className:"mt-4 p-3 bg-blue-50 rounded",children:(0,o.jsx)("p",{className:"text-sm",children:"All standard iPhone models since iPhone 7 (iOS 11+) capture in HEIC by default for 50% space savings."})})]})}),(0,o.jsx)(l.TabsContent,{value:"features",children:(0,o.jsxs)(a.Zp,{className:"p-4",children:[(0,o.jsx)("h4",{className:"font-bold mb-3",children:"Advanced Photography Features We Support"}),(0,o.jsxs)("div",{className:"grid md:grid-cols-2 gap-4",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h5",{className:"font-semibold mb-2",children:"Computational Photography"}),(0,o.jsxs)("ul",{className:"space-y-1 text-sm",children:[(0,o.jsx)("li",{children:"⢠Deep Fusion texture enhancement"}),(0,o.jsx)("li",{children:"⢠Smart HDR tone mapping"}),(0,o.jsx)("li",{children:"⢠Semantic rendering masks"}),(0,o.jsx)("li",{children:"⢠Photographic Styles LUTs"})]})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("h5",{className:"font-semibold mb-2",children:"Multi-Frame Features"}),(0,o.jsxs)("ul",{className:"space-y-1 text-sm",children:[(0,o.jsx)("li",{children:"⢠Live Photo key frame extraction"}),(0,o.jsx)("li",{children:"⢠Burst photo best shot selection"}),(0,o.jsx)("li",{children:"⢠Long exposure trails"}),(0,o.jsx)("li",{children:"⢠Time-lapse frame sampling"})]})]})]})]})})]}),"\n",(0,o.jsx)(t.h2,{children:"Technical Implementation"}),"\n",(0,o.jsx)(t.h3,{children:"Conversion Pipeline Architecture"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// iOS-Optimized HEIC Processing Pipeline 2struct HEICToSVGPipeline { 3 // Stage 1: Extract from Photos Library 4 func extractHEIC(from photoAsset: PHAsset) async throws -> HEICData { 5 let options = PHImageRequestOptions() 6 options.version = .current 7 options.deliveryMode = .highQualityFormat 8 options.isNetworkAccessAllowed = true 9 10 return await PHImageManager.default().requestImageDataAndOrientation( 11 for: photoAsset, 12 options: options 13 ) 14 } 15 16 // Stage 2: Decode with Core Image 17 func decodeWithCoreImage(_ heicData: Data) -> CIImage? { 18 guard let ciImage = CIImage(data: heicData) else { return nil } 19 20 // Extract auxiliary data 21 let depthData = ciImage.depthData 22 let portraitMatte = ciImage.portraitEffectsMatte 23 let semanticSegmentation = ciImage.semanticSegmentationMatte 24 25 return processWithMetadata(ciImage, depth: depthData) 26 } 27 28 // Stage 3: AI Vectorization 29 func vectorize(image: CIImage, options: VectorizationOptions) -> SVGDocument { 30 // Apple Neural Engine acceleration 31 let request = VNGenerateOpticalFlowRequest() 32 request.computationAccuracy = .high 33 34 // Use Vision framework for edge detection 35 let edgeDetection = VNDetectEdgesRequest() 36 let contourRequest = VNDetectContoursRequest() 37 38 return generateSVG(from: processedRequests) 39 } 40}`}),"\n",(0,o.jsx)(t.h3,{children:"JavaScript/Node.js Implementation"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// Browser-based HEIC to SVG conversion 41import { HEICDecoder } from 'heic-decode'; 42import { Vectorizer } from '@svgai/vectorizer'; 43 44class HEICToSVGConverter { 45constructor() { 46 this.decoder = new HEICDecoder(); 47 this.vectorizer = new Vectorizer({ 48 engine: 'tensorflow', // AI-powered vectorization 49 model: 'mobilenet-v3' // Optimized for mobile photos 50 }); 51} 52 53async convert(heicFile, options = {}) { 54 // Stage 1: Decode HEIC 55 const decoded = await this.decoder.decode(heicFile, { 56 includeDepth: options.preserveDepth || false, 57 includeThumbnail: false, 58 colorSpace: 'display-p3' 59 }); 60 61 // Stage 2: Extract metadata 62 const metadata = { 63 camera: decoded.exif?.Make + ' ' + decoded.exif?.Model, 64 lens: decoded.exif?.LensModel, 65 timestamp: decoded.exif?.DateTimeOriginal, 66 location: decoded.exif?.GPSLatitude ? { 67 lat: decoded.exif.GPSLatitude, 68 lng: decoded.exif.GPSLongitude 69 } : null, 70 depth: decoded.depthMap, 71 semanticMasks: decoded.semanticSegmentation 72 }; 73 74 // Stage 3: Intelligent vectorization 75 const svg = await this.vectorizer.process(decoded.bitmap, { 76 preserveColors: options.preserveColors || 256, 77 smoothing: options.smoothing || 'adaptive', 78 simplification: options.simplification || 0.5, 79 80 // iPhone-specific optimizations 81 iphoneOptimizations: { 82 preservePortraitBokeh: true, 83 extractDepthLayers: true, 84 handleLivePhotoFrame: options.livePhotoFrame || 'key' 85 } 86 }); 87 88 return { svg, metadata }; 89} 90 91// Handle Live Photos 92async convertLivePhoto(heicFile) { 93 const frames = await this.decoder.extractLivePhotoFrames(heicFile); 94 const svgFrames = []; 95 96 for (const [index, frame] of frames.entries()) { 97 if (index % 3 === 0) { // Sample every 3rd frame 98 const svg = await this.vectorizer.process(frame, { 99 animation: true, 100 frameIndex: index 101 }); 102 svgFrames.push(svg); 103 } 104 } 105 106 return this.createAnimatedSVG(svgFrames); 107} 108}`}),"\n",(0,o.jsx)(t.h2,{children:"Platform-Specific Solutions"}),"\n",(0,o.jsx)(t.h3,{children:"macOS Integration"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// macOS native app with SwiftUI
109import SwiftUI 110import PhotosUI 111 112struct HEICConverterView: View { 113 @State private var selectedItems = [PhotosPickerItem]() 114 @State private var convertedSVGs = [SVGDocument]() 115 116 var body: some View { 117 VStack { 118 PhotosPicker( 119 "Select HEIC Photos", 120 selection: $selectedItems, 121 maxSelectionCount: 10, 122 matching: .images 123 ) 124 .onChange(of: selectedItems) { items in 125 Task { 126 for item in items { 127 if let data = try? await item.loadTransferable(type: Data.self) { 128 let svg = await convertHEICToSVG(data) 129 convertedSVGs.append(svg) 130 } 131 } 132 } 133 } 134 135 // Display converted SVGs 136 ScrollView { 137 ForEach(convertedSVGs) { svg in 138 SVGView(document: svg) 139 .frame(height: 200) 140 } 141 } 142 } 143 } 144}`}),"\n",(0,o.jsx)(t.h3,{children:"Windows 11 Support"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// Windows 11 with WinRT APIs 145using Windows.Graphics.Imaging; 146using Windows.Storage; 147 148public class HEICToSVGConverter 149{ 150 public async Task<string> ConvertAsync(StorageFile heicFile) 151 { 152 // Windows 11 includes HEIF codec by default 153 using var stream = await heicFile.OpenAsync(FileAccessMode.Read); 154 var decoder = await BitmapDecoder.CreateAsync(stream); 155 156 // Get software bitmap 157 var softwareBitmap = await decoder.GetSoftwareBitmapAsync( 158 BitmapPixelFormat.Bgra8, 159 BitmapAlphaMode.Premultiplied 160 ); 161 162 // Extract metadata 163 var exifData = await decoder.BitmapProperties.GetPropertiesAsync( 164 new[] { "System.Photo.DateTaken", "System.Photo.CameraModel" } 165 ); 166 167 // Convert to SVG using vectorization library 168 return await VectorizationEngine.ConvertToSVG(softwareBitmap, new VectorizeOptions 169 { 170 PreserveMetadata = true, 171 ColorDepth = decoder.BitmapPixelFormat == BitmapPixelFormat.Rgba16 ? 16 : 8 172 }); 173 } 174}`}),"\n",(0,o.jsx)(t.h2,{children:"Workflow Automation"}),"\n",(0,o.jsx)(t.h3,{children:"Shortcuts App Integration"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// Siri Shortcuts URL scheme 175const shortcutURL = \`shortcuts://run-shortcut?name=Convert%20HEIC%20to%20SVG&input=clipboard&text=\${encodedHEICData}\`; 176 177// Direct share from Photos app 178if (navigator.share) { 179navigator.share({ 180 title: 'Convert HEIC to SVG', 181 text: 'Convert your iPhone photos to scalable vectors', 182 url: 'https://www.svgai.org/convert/heic-to-svg' 183}); 184}`}),"\n",(0,o.jsx)(t.h3,{children:"iCloud Photos Integration"}),"\n",(0,o.jsxs)(a.Zp,{className:"p-6 my-8 bg-gradient-to-r from-blue-50 to-green-50",children:[(0,o.jsx)("h3",{className:"text-lg font-bold mb-4",children:"âï¸ iCloud Photos Sync"}),(0,o.jsxs)("div",{className:"space-y-3",children:[(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(x,{className:"h-5 w-5 text-blue-500"}),(0,o.jsx)("span",{className:"text-sm",children:"Sign in with Apple ID to access iCloud Photos"})]}),(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(p.A,{className:"h-5 w-5 text-green-500"}),(0,o.jsx)("span",{className:"text-sm",children:"Batch convert entire albums or moments"})]}),(0,o.jsxs)("div",{className:"flex items-center gap-3",children:[(0,o.jsx)(g.A,{className:"h-5 w-5 text-purple-500"}),(0,o.jsx)("span",{className:"text-sm",children:"Process on-device with Apple Silicon acceleration"})]})]}),(0,o.jsxs)("button",{className:"mt-4 px-4 py-2 bg-black text-white rounded-lg flex items-center gap-2",children:[(0,o.jsx)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"currentColor",children:(0,o.jsx)("path",{d:"M18.71 19.5C17.88 20.74 17 21.95 15.66 21.97C14.32 22 13.89 21.18 12.37 21.18C10.84 21.18 10.37 21.95 9.09997 22C7.78997 22.05 6.79997 20.68 5.95997 19.47C4.24997 16.97 2.93997 12.45 4.69997 9.39C5.56997 7.87 7.12997 6.91 8.81997 6.88C10.1 6.86 11.32 7.75 12.11 7.75C12.89 7.75 14.37 6.68 15.92 6.84C16.57 6.87 18.39 7.1 19.56 8.82C19.47 8.88 17.39 10.1 17.41 12.63C17.44 15.65 20.06 16.66 20.09 16.67C20.06 16.74 19.67 18.11 18.71 19.5ZM13 3.5C13.73 2.67 14.94 2.04 15.94 2C16.07 3.17 15.6 4.35 14.9 5.19C14.21 6.04 13.07 6.7 11.95 6.61C11.8 5.46 12.36 4.26 13 3.5Z"})}),(0,o.jsx)(t.p,{children:"Sign in with Apple"})]})]}),"\n",(0,o.jsx)(t.h2,{children:"Performance Metrics"}),"\n",(0,o.jsx)(t.h3,{children:"Real-World Conversion Stats"}),"\n",(0,o.jsx)(t.p,{children:"| Source | File Size | Conversion Time | SVG Output | Quality |\r\n|--------|-----------|----------------|------------|---------|\r\n| iPhone 15 Pro (48MP) | 4.2 MB | 2.3s | 890 KB | 95% |\r\n| iPhone 14 (12MP) | 1.8 MB | 1.1s | 420 KB | 94% |\r\n| iPhone SE (12MP) | 1.5 MB | 0.9s | 380 KB | 93% |\r\n| iPad Pro (12MP) | 2.1 MB | 1.3s | 510 KB | 94% |\r\n| Live Photo (3s) | 3.5 MB | 4.2s | 1.2 MB | 92% |"}),"\n",(0,o.jsx)(t.h2,{children:"Common Use Cases"}),"\n",(0,o.jsx)(t.h3,{children:"1. App Icon Generation"}),"\n",(0,o.jsx)(t.p,{children:"Convert app screenshots to SVG for scalable app icons:"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// Generate iOS app icon set from HEIC 185async function generateAppIcons(heicFile) { 186const svg = await converter.convert(heicFile, { 187 simplification: 0.8, // Higher simplification for icons 188 colors: 16, // Limit colors for clean look 189 preserveCorners: true // Sharp corners for icon clarity 190}); 191 192// Generate required sizes 193const sizes = [20, 29, 40, 58, 60, 76, 80, 87, 120, 152, 167, 180, 1024]; 194return sizes.map(size => ({ 195 size, 196 svg: scaleSVG(svg, size) 197})); 198}`}),"\n",(0,o.jsx)(t.h3,{children:"2. Logo Extraction from Photos"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// Extract logo from product photo 199async function extractLogo(heicPhoto) { 200const result = await converter.convert(heicPhoto, { 201 backgroundRemoval: true, 202 objectDetection: 'logo', 203 enhanceEdges: true, 204 outputFormat: 'path' // Single path for logo 205}); 206 207return result.svg; 208}`}),"\n",(0,o.jsx)(t.h3,{children:"3. Architectural Drawings"}),"\n",(0,o.jsx)(t.p,{children:"Transform building photos into vector line art:"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`// Convert architectural photo to line drawing
209async function architecturalConversion(heicFile) { 210return await converter.convert(heicFile, { 211 mode: 'lineart', 212 detectLines: true, 213 detectCorners: true, 214 perspective: 'correct', 215 removeTextures: true 216}); 217}`}),"\n",(0,o.jsx)(t.h2,{children:"API & Automation"}),"\n",(0,o.jsx)(t.h3,{children:"REST API"}),"\n",(0,o.jsx)("pre",{className:"bg-slate-900 text-gray-100 p-4 rounded-lg overflow-x-auto my-4 font-mono text-sm",children:`# Convert HEIC to SVG via API 218curl -X POST https://www.svgai.org/api/convert/heic-to-svg \ 219-H "Authorization: Bearer YOUR_API_KEY" \ 220-H "Content-Type: multipart/form-data" \ 221-F "[email protected]" \ 222-F "options={ 223 "preserveDepth": true, 224 "extractLivePhoto": "keyframe", 225 "colorSpace": "display-p3", 226 "simplification": 0.5 227}"`}),"\n",(0,o.jsx)(t.h3,{children:"Zapier Integration"}),"\n",(0,o.jsx)(t.p,{children:"Automate your workflow:"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Trigger"}),": New photo in iCloud album"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Action"}),": Convert HEIC to SVG"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Action"}),": Upload to Dropbox/Google Drive"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Action"}),": Send notification with download link"]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{children:"Troubleshooting Guide"}),"\n",(0,o.jsxs)(l.Tabs,{defaultValue:"common",className:"my-8",children:[(0,o.jsxs)(l.TabsList,{children:[(0,o.jsx)(l.TabsTrigger,{value:"common",children:"Common Issues"}),(0,o.jsx)(l.TabsTrigger,{value:"quality",children:"Quality Problems"}),(0,o.jsx)(l.TabsTrigger,{value:"compatibility",children:"Compatibility"})]}),(0,o.jsx)(l.TabsContent,{value:"common",children:(0,o.jsxs)(a.Zp,{className:"p-4 space-y-3",children:[(0,o.jsxs)("div",{className:"p-3 bg-yellow-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:'â "HEIC format not supported"'}),(0,o.jsx)("p",{className:"text-sm mt-1",children:"Install HEIF Image Extensions from Microsoft Store (Windows) or update to macOS 10.13+"})]}),(0,o.jsxs)("div",{className:"p-3 bg-yellow-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:'â "File too large"'}),(0,o.jsx)("p",{className:"text-sm mt-1",children:"48MP ProRAW files can be 20MB+. Use our API for files over 10MB or reduce resolution in iPhone settings."})]}),(0,o.jsxs)("div",{className:"p-3 bg-yellow-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:'â "Depth data lost"'}),(0,o.jsx)("p",{className:"text-sm mt-1",children:'Enable "Preserve Depth" option. Only available for Portrait mode photos from iPhone 7 Plus or later.'})]})]})}),(0,o.jsx)(l.TabsContent,{value:"quality",children:(0,o.jsxs)(a.Zp,{className:"p-4 space-y-3",children:[(0,o.jsxs)("div",{className:"p-3 bg-blue-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:"\uD83C\uDFA8 Colors look different"}),(0,o.jsx)("p",{className:"text-sm mt-1",children:'HEIC uses Display P3 color space. Enable "Preserve Color Space" or convert to sRGB for web compatibility.'})]}),(0,o.jsxs)("div",{className:"p-3 bg-blue-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:"\uD83D\uDCD0 Too many paths in SVG"}),(0,o.jsx)("p",{className:"text-sm mt-1",children:"Increase simplification level (0.6-0.8) for cleaner output. Photos with lots of detail generate complex SVGs."})]}),(0,o.jsxs)("div",{className:"p-3 bg-blue-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:"\uD83D\uDDBCï¸ Loss of detail"}),(0,o.jsx)("p",{className:"text-sm mt-1",children:"Reduce simplification (0.3-0.4) and increase color count. Note: This increases file size significantly."})]})]})}),(0,o.jsx)(l.TabsContent,{value:"compatibility",children:(0,o.jsxs)(a.Zp,{className:"p-4 space-y-3",children:[(0,o.jsxs)("div",{className:"p-3 bg-green-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:"\uD83D\uDCBB Windows compatibility"}),(0,o.jsx)("p",{className:"text-sm mt-1",children:"Windows 11 includes HEIF codec. For Windows 10, install HEIF Image Extensions (free) from Microsoft Store."})]}),(0,o.jsxs)("div",{className:"p-3 bg-green-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:"\uD83C\uDF10 Web browser support"}),(0,o.jsx)("p",{className:"text-sm mt-1",children:"No browser supports HEIC directly. Always convert to SVG, WebP, or JPEG for web use."})]}),(0,o.jsxs)("div",{className:"p-3 bg-green-50 rounded",children:[(0,o.jsx)("p",{className:"font-semibold text-sm",children:"\uD83D\uDCF1 Android support"}),(0,o.jsx)("p",{className:"text-sm mt-1",children:"Android 9+ supports HEIC viewing. For older versions, use our converter or Google Photos for automatic conversion."})]})]})})]}),"\n",(0,o.jsx)(t.h2,{children:"Conclusion"}),"\n",(0,o.jsx)(t.p,{children:"HEIC to SVG conversion bridges the gap between Apple's efficie
227nt photography format and the universal web. While HEIC excels at storing high-quality photos with 50% less space, converting appropriate images to SVG unlocks infinite scalability and web compatibility."}),"\n",(0,o.jsx)(t.p,{children:"Our converter, optimized for Apple Silicon and integrated with iOS workflows, makes it seamless to transform iPhone photography into web-ready vectors. Whether you're extracting logos, creating app icons, or preparing graphics for responsive design, our HEIC to SVG converter preserves the quality and intent of your original captures."}),"\n",(0,o.jsxs)(a.Zp,{className:"p-6 my-8 bg-black text-white",children:[(0,o.jsx)("h3",{className:"text-xl font-bold mb-4",children:"\uD83D\uDCF1 Start Converting iPhone Photos"}),(0,o.jsx)("p",{className:"mb-4 text-gray-200",children:"Transform your HEIC photos into scalable SVG vectors with one click."}),(0,o.jsxs)("div",{className:"flex gap-4",children:[(0,o.jsx)("button",{className:"px-6 py-2 bg-white text-black rounded-lg hover:bg-gray-100",children:(0,o.jsx)(t.p,{children:"Upload HEIC"})}),(0,o.jsx)("button",{className:"px-6 py-2 border-2 border-white rounded-lg hover:bg-white/10",children:(0,o.jsx)(t.p,{children:"Download iOS App"})})]})]})]})}function j(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(v,{...e})}):v(e)}},73314:(e,t,s)=>{s.d(t,{A:()=>o});let o=(0,s(19946).A)("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
227],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]])}}]);
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.