[{"data":1,"prerenderedAt":54},["ShallowReactive",2],{"i-lucide:menu":3,"i-lucide:grip":8,"i-lucide:chevron-right":10,"i-lucide:moon":12,"i-lucide:sun":14,"i-material-symbols:language":16,"i-lucide:chevron-down":18,"i-lucide:shield-check":20,"i-lucide:mail":22,"i-tabler:markdown":24,"i-lucide:code-xml":26,"i-lucide:film":28,"i-lucide:file-text":30,"i-lucide:box":32,"i-lucide:code-2":34,"i-lucide:image":35,"i-lucide:square-sigma":37,"i-lucide:gamepad-2":39,"i-lucide:sparkles":41,"i-lucide:graduation-cap":43,"blog-body-image-format-compression-choice-en":45,"i-lucide:scale":46,"i-lucide:code":48,"i-lucide:image-down":50,"i-lucide:replace":52},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"5\" r=\"1\"\u002F>\u003Ccircle cx=\"19\" cy=\"5\" r=\"1\"\u002F>\u003Ccircle cx=\"5\" cy=\"5\" r=\"1\"\u002F>\u003Ccircle cx=\"12\" cy=\"12\" r=\"1\"\u002F>\u003Ccircle cx=\"19\" cy=\"12\" r=\"1\"\u002F>\u003Ccircle cx=\"5\" cy=\"12\" r=\"1\"\u002F>\u003Ccircle cx=\"12\" cy=\"19\" r=\"1\"\u002F>\u003Ccircle cx=\"19\" cy=\"19\" r=\"1\"\u002F>\u003Ccircle cx=\"5\" cy=\"19\" r=\"1\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"4\"\u002F>\u003Cpath d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":17},"\u003Cpath fill=\"currentColor\" d=\"M8.125 21.213q-1.825-.788-3.187-2.15t-2.15-3.188T2 11.988t.788-3.875t2.15-3.175t3.187-2.15T12.013 2t3.875.788t3.175 2.15t2.15 3.175t.787 3.875t-.787 3.887t-2.15 3.188t-3.175 2.15t-3.875.787t-3.888-.787M12 19.95q.65-.9 1.125-1.875T13.9 16h-3.8q.3 1.1.775 2.075T12 19.95m-2.6-.4q-.45-.825-.787-1.713T8.05 16H5.1q.725 1.25 1.813 2.175T9.4 19.55m5.2 0q1.4-.45 2.488-1.375T18.9 16h-2.95q-.225.95-.562 1.838T14.6 19.55M4.25 14h3.4q-.075-.5-.112-.987T7.5 12t.038-1.012T7.65 10h-3.4q-.125.5-.187.988T4 12t.063 1.013t.187.987m5.4 0h4.7q.075-.5.113-.987T14.5 12t-.038-1.012T14.35 10h-4.7q-.075.5-.112.988T9.5 12t.038 1.013t.112.987m6.7 0h3.4q.125-.5.188-.987T20 12t-.062-1.012T19.75 10h-3.4q.075.5.113.988T16.5 12t-.038 1.013t-.112.987m-.4-6h2.95q-.725-1.25-1.812-2.175T14.6 4.45q.45.825.788 1.713T15.95 8M10.1 8h3.8q-.3-1.1-.775-2.075T12 4.05q-.65.9-1.125 1.875T10.1 8m-5 0h2.95q.225-.95.563-1.838T9.4 4.45Q8 4.9 6.912 5.825T5.1 8\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":19},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":21},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\"\u002F>\u003Cpath d=\"m9 12l2 2l4-4\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":23},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m22 7l-8.991 5.727a2 2 0 0 1-2.009 0L2 7\"\u002F>\u003Crect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":25},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"\u002F>\u003Cpath d=\"M7 15V9l2 2l2-2v6m3-2l2 2l2-2m-2 2V9\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":27},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m18 16l4-4l-4-4M6 8l-4 4l4 4m8.5-12l-5 16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":29},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\u002F>\u003Cpath d=\"M7 3v18M3 7.5h4M3 12h18M3 16.5h4M17 3v18m0-13.5h4m-4 9h4\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":31},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\"\u002F>\u003Cpath d=\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":33},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z\"\u002F>\u003Cpath d=\"m3.3 7l8.7 5l8.7-5M12 22V12\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":27},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":36},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\"\u002F>\u003Ccircle cx=\"9\" cy=\"9\" r=\"2\"\u002F>\u003Cpath d=\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":38},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\u002F>\u003Cpath d=\"M16 8.9V7H8l4 5l-4 5h8v-1.9\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":40},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 11h4M8 9v4m7-1h.01M18 10h.01m-.69-5H6.68a4 4 0 0 0-3.978 3.59l-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258q-.01-.075-.017-.151A4 4 0 0 0 17.32 5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":42},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\"\u002F>\u003Ccircle cx=\"4\" cy=\"20\" r=\"2\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":44},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0zM22 10v6\"\u002F>\u003Cpath d=\"M6 12.5V16a6 3 0 0 0 12 0v-3.5\"\u002F>\u003C\u002Fg>","\u003Cblockquote>\n\u003Cp>Same image: 2 MB as PNG, 200 KB as JPG, maybe under 150 KB as WebP. Where does the gap come from? The question isn't &quot;which format is best&quot; but \u003Cstrong>what your image contains and who will use it\u003C\u002Fstrong>. Understand what compression removes and you can choose without guessing.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Cp>\u003Cimg src=\"\u002Fblog\u002Fimage-format-compression-choice\u002Fcover.webp\" alt=\"Same image, different formats, different sizes\">\u003C\u002Fp>\n\u003Ch2>Two Kinds of Compression: Lossy and Lossless\u003C\u002Fh2>\n\u003Cp>The main split: \u003Cstrong>lossy\u003C\u002Fstrong> vs. \u003Cstrong>lossless\u003C\u002Fstrong>—different tradeoffs.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Lossless\u003C\u002Fstrong>: pixel-perfect restore. Encodes patterns (run-length, dictionaries)—great for \u003Cstrong>large flat color areas\u003C\u002Fstrong>. PNG, WebP lossless, GIF.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Lossy\u003C\u002Fstrong>: drops information the eye barely notices for smaller size—can't fully restore. JPG, WebP lossy, AVIF.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Core idea: \u003Cstrong>lossless suits pattern-heavy images (screenshots, icons, solids); lossy suits smooth color (photos, gradients).\u003C\u002Fstrong> First cut: which category is your image?\u003C\u002Fp>\n\u003Ch2>Why Is Lossy So Effective on Photos?\u003C\u002Fh2>\n\u003Cp>Photo color changes \u003Cstrong>smoothly and continuously\u003C\u002Fstrong>; the eye is insensitive to tiny luminance\u002Fcolor shifts. JPG splits the image into 8×8 blocks, DCT transforms each, then \u003Cstrong>quantizes high frequencies the eye won't miss\u003C\u002Fstrong>—discarded detail you wouldn't notice anyway, so size drops with little visible change.\u003C\u002Fp>\n\u003Cp>That logic fails on \u003Cstrong>text, lines, solid edges\u003C\u002Fstrong>—high-frequency jumps (black on white). Quantization causes ringing and blocks—the &quot;dirty edges&quot; around letters. Common pitfall: \u003Cstrong>text screenshots as JPG look muddy; PNG stays clean and isn't always larger.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Ch2>Transparency, Animation, and Other Capabilities\u003C\u002Fh2>\n\u003Cp>Beyond compression, formats differ in features—often hard constraints:\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Capability\u003C\u002Fth>\n\u003Cth>JPG\u003C\u002Fth>\n\u003Cth>PNG\u003C\u002Fth>\n\u003Cth>WebP\u003C\u002Fth>\n\u003Cth>AVIF\u003C\u002Fth>\n\u003Cth>GIF\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>Lossy\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✗\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✗\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Lossless\u003C\u002Ftd>\n\u003Ctd>✗\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓ (256 colors)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Alpha\u003C\u002Ftd>\n\u003Ctd>✗\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓ (1-bit)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Animation\u003C\u002Ftd>\n\u003Ctd>✗\u003C\u002Ftd>\n\u003Ctd>✗\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003Ctd>✓\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Compatibility\u003C\u002Ftd>\n\u003Ctd>Very wide\u003C\u002Ftd>\n\u003Ctd>Very wide\u003C\u002Ftd>\n\u003Ctd>Good\u003C\u002Ftd>\n\u003Ctd>Moderate\u003C\u002Ftd>\n\u003Ctd>Very wide\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Direct conclusions: \u003Cstrong>need transparency → not JPG\u003C\u002Fstrong> (no alpha); animated content—WebP\u002FAVIF beat GIF on size\u002Fquality; max compatibility (old devices, any app)—JPG\u002FPNG remain safest.\u003C\u002Fp>\n\u003Ch2>How Much Better Are WebP and AVIF?\u003C\u002Fh2>\n\u003Cp>&quot;Next-gen&quot; formats: \u003Cstrong>smaller at same quality, lossy\u002Flossless\u002Ftransparency\u002Fanimation in one package.\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>WebP\u003C\u002Fstrong>: ~25%–35% smaller than JPG at similar quality; lossless often beats PNG too. Browser support is solid—reasonable default for web.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>AVIF\u003C\u002Fstrong>: higher compression, especially at low bitrate. Cost: \u003Cstrong>slower encode, weaker legacy compatibility, slightly higher decode cost.\u003C\u002Fstrong>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Tradeoff: newer = slower encode, may not open everywhere. Web can adopt WebP; files for others stay compatibility-first.\u003C\u002Fp>\n\u003Ch2>Decision Table\u003C\u002Fh2>\n\u003Cp>Align content type and use:\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Your image\u003C\u002Fth>\n\u003Cth>Use\u003C\u002Fth>\n\u003Cth>Recommended format\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>Photo, gradient, rich color\u003C\u002Ftd>\n\u003Ctd>Web\u003C\u002Ftd>\n\u003Ctd>WebP (JPG fallback)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Photo\u003C\u002Ftd>\n\u003Ctd>File share \u002F max compatibility\u003C\u002Ftd>\n\u003Ctd>JPG\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Screenshot, text, UI, lines\u003C\u002Ftd>\n\u003Ctd>Any\u003C\u002Ftd>\n\u003Ctd>PNG or WebP lossless\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Needs transparency\u003C\u002Ftd>\n\u003Ctd>Any\u003C\u002Ftd>\n\u003Ctd>PNG \u002F WebP \u002F AVIF\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Icon, logo (if vector available)\u003C\u002Ftd>\n\u003Ctd>Web\u003C\u002Ftd>\n\u003Ctd>SVG (not bitmap—sharp at any size)\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Animation\u003C\u002Ftd>\n\u003Ctd>Web\u003C\u002Ftd>\n\u003Ctd>WebP\u002FAVIF; GIF for compatibility\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Extreme size, controlled environment\u003C\u002Ftd>\n\u003Ctd>Web\u003C\u002Ftd>\n\u003Ctd>AVIF\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Often missed: \u003Cstrong>if you have SVG for icons\u002Flogos, don't rasterize\u003C\u002Fstrong>—math curves, sharp at any scale, tiny size—not part of the JPG\u002FPNG bitmap discussion.\u003C\u002Fp>\n\u003Ch2>Workflow: Compress First or Convert First?\u003C\u002Fh2>\n\u003Cp>After picking format:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Same format, smaller\u003C\u002Fstrong>: \u003Ca href=\"\u002Fimages\u002Fcompress\u002F\">image compression tool\u003C\u002Fa>—tune level for size vs. quality; photos can go aggressive, text conservative.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Change format\u003C\u002Fstrong>: batch PNG → WebP for site speed, or WebP → JPG for unsupported devices. \u003Ca href=\"\u002Fimages\u002FimageFormatConvert\u002F\">Image format conversion\u003C\u002Fa> with quality settings.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Usually \u003Cstrong>pick format by content, then compress within that format\u003C\u002Fstrong>; compress then convert risks double degradation. Both tools run locally in the browser—images aren't uploaded.\u003C\u002Fp>\n\u003Ch2>Summary\u003C\u002Fh2>\n\u003Cp>Split lossy vs. lossless: lossless for screenshots\u002Ficons\u002Fsolids, lossy for photos\u002Fgradients. JPG quantizes photos well but dirty-edges text—screenshots need PNG. Transparency and animation are capability gaps—no alpha in JPG. WebP is smaller with broad features—solid web default; AVIF smaller but slower\u002Fweaker compatibility; JPG\u002FPNG for file sharing; SVG for vector icons. Use the content+use table, then \u003Ca href=\"\u002Fimages\u002Fcompress\u002F\">compress\u003C\u002Fa> or \u003Ca href=\"\u002Fimages\u002FimageFormatConvert\u002F\">convert format\u003C\u002Fa>.\u003C\u002Fp>\n",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":47},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M12 3v18m7-13l3 8a5 5 0 0 1-6 0zV7\"\u002F>\u003Cpath d=\"M3 7h1a17 17 0 0 0 8-2a17 17 0 0 0 8 2h1M5 8l3 8a5 5 0 0 1-6 0zV7m2 14h10\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":49},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m16 18l6-6l-6-6M8 6l-6 6l6 6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":51},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21\"\u002F>\u003Cpath d=\"m14 19l3 3v-5.5m0 5.5l3-3\"\u002F>\u003Ccircle cx=\"9\" cy=\"9\" r=\"2\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":53},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M14 4a1 1 0 0 1 1-1m0 7a1 1 0 0 1-1-1m7-5a1 1 0 0 0-1-1m1 6a1 1 0 0 1-1 1M3 7l3 3l3-3\"\u002F>\u003Cpath d=\"M6 10V5a2 2 0 0 1 2-2h2\"\u002F>\u003Crect width=\"7\" height=\"7\" x=\"3\" y=\"14\" rx=\"1\"\u002F>\u003C\u002Fg>",1782539672818]