Tagged articles
11 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Nov 20, 2024 · Mobile Development

Understanding Apng and Implementing Animation Playback on Android

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.

AndroidMobile DevelopmentPNG
0 likes · 13 min read
Understanding Apng and Implementing Animation Playback on Android
Tencent Music Tech Team
Tencent Music Tech Team
Sep 15, 2023 · Mobile Development

Parsing and Using NinePatch PNG Images for Resizable UI Elements

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.

AndroidCapInsetsMobile Development
0 likes · 13 min read
Parsing and Using NinePatch PNG Images for Resizable UI Elements
IT Services Circle
IT Services Circle
Apr 10, 2023 · Information Security

Privacy Leak in Google Pixel and Windows Screenshot Tools: Overwritten Image Data Reveals Hidden Information

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
Privacy Leak in Google Pixel and Windows Screenshot Tools: Overwritten Image Data Reveals Hidden Information
Liangxu Linux
Liangxu Linux
Aug 31, 2020 · Fundamentals

Understanding PNG: Types, Data Structure, and Compression Mechanics

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.

DEFLATEData StructureFile Format
0 likes · 10 min read
Understanding PNG: Types, Data Structure, and Compression Mechanics