Tagged articles
PNG
13 articles · Page 1 of 1
This article explains the mathematical foundations of JPG and PNG compression, compares their strengths and weaknesses, provides a decision tree for format selection based on use cases, and outlines modern delivery practices using WebP, AVIF, and content negotiation.
AVIFContent NegotiationDCT
0 likes · 23 min read

PNG, originally named PING (PING Is Not GIF), was created in the mid‑1990s as a patent‑free alternative to GIF’s LZW compression, offering higher color depth, transparency, and better compression, and its development illustrates how community‑driven standards can emerge from licensing disputes.
GIFLZW patentPNG
0 likes · 7 min read

APNG, a high‑quality animated PNG format offering 24‑bit color and 8‑bit alpha transparency, outperforms GIF in visual fidelity and file size, and on Android can be parsed and rendered via MappedByteBuffer and SurfaceView using background threads to load frames from memory, eliminating I/O lag and UI blocking.
AndroidPNGanimation
0 likes · 13 min read

This article documents the challenges of compressing PNG images in Java, demonstrates why Thumbnailator can increase file size, and presents a practical solution using OpenViewerFX together with Thumbnailator, including code examples, Maven dependencies, and important implementation notes.
BackendJavaPNG
0 likes · 5 min read

The article explains how to create, parse, and use NinePatch (.9.png) images by extracting the custom “npTc” chunk from a PNG file, building a PNGNinePatch object in Objective‑C, and converting its stretchable region data into UIEdgeInsets for resizable iOS UI elements.
AndroidCapInsetsNinePatch
0 likes · 13 min read

A recent investigation reveals that both Google Pixel's Markup tool and Windows' built‑in screenshot utility can unintentionally expose residual image data, allowing attackers to recover previously hidden information from PNG and JPG files, highlighting a widespread privacy risk across billions of users.
GoogleImage SecurityMicrosoft
0 likes · 8 min read

go-charts is a Go library that simplifies creating line, bar, and pie charts as SVG or PNG images, supports light, dark, and grafana themes, offers Apache ECharts‑compatible configuration, provides performance benchmarks, and includes guidance for handling Chinese characters.
GoPNGSVG
0 likes · 8 min read

This article explains the PHP imagecreatefrompng function, detailing its syntax, parameters, return values, and provides a complete example that loads a PNG file, handles errors, creates a blank image, draws a rectangle, and outputs the result as a PNG image.
BackendPNGgd-library
0 likes · 2 min read

This article explains the PNG image format, covering its full name, lossless compression, size advantages, transparency support, the three main PNG types, the file’s chunk‑based data structure, hexadecimal header details, factors that affect compression efficiency, and the two‑stage prediction‑and‑deflate compression process.
DeflateLZ77PNG
0 likes · 10 min read

This article explains the PNG image format, covering its lossless compression, different PNG types (8, 24, 32), internal data structure, how prediction and Deflate compression work, and tips for achieving better compression by using simple, low‑color images.
CompressionGraphicsPNG
0 likes · 9 min read

This article provides a comprehensive tutorial on using the Python qrcode library, covering installation, the QRCode class constructor, detailed explanations of all parameters, common methods, and how to generate both SVG and PNG images, including code examples and tips for customizing output.
Image GenerationPNGPython
0 likes · 7 min read

This guide walks you through using the Python qrcode library, covering project setup, QRCode class parameters, method details, SVG and PNG image generation options, and provides practical code snippets to create and customize QR codes efficiently.
Image GenerationPNGQRCode library
0 likes · 7 min read

This article explains the Adam7 interlacing algorithm used in PNG files, detailing its advantages, how to generate interlaced PNGs in Photoshop, the underlying principle of splitting images into sub‑images, buffer slicing, pixel reassembly, and provides reference resources.
Adam7PNGfrontend
0 likes · 8 min read
