Tag

png

0 views collected around this technical thread.

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.

APNGAndroidGraphics Programming
0 likes · 13 min read
Understanding Apng and Implementing Animation Playback on Android
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 23, 2024 · Backend Development

Java PNG Image Compression Using OpenViewerFX and Thumbnailator: Pitfalls and Solutions

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.

JavaThumbnailatorbackend
0 likes · 5 min read
Java PNG Image Compression Using OpenViewerFX and Thumbnailator: Pitfalls and Solutions
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.

AndroidCapInsetsImage Resizing
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.

GoogleMicrosoftScreenshot
0 likes · 8 min read
Privacy Leak in Google Pixel and Windows Screenshot Tools: Overwritten Image Data Reveals Hidden Information
Laravel Tech Community
Laravel Tech Community
Feb 21, 2022 · Backend Development

go-charts: Go Library for Generating SVG/PNG Charts with Apache ECharts Compatibility

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.

Gobackendcharts
0 likes · 8 min read
go-charts: Go Library for Generating SVG/PNG Charts with Apache ECharts Compatibility
Laravel Tech Community
Laravel Tech Community
Aug 15, 2021 · Backend Development

PHP imagecreatefrompng Function: Syntax, Parameters, Return Value, and Example Usage

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.

GD Libraryimage-processingphp
0 likes · 2 min read
PHP imagecreatefrompng Function: Syntax, Parameters, Return Value, and Example Usage
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jul 6, 2017 · Frontend Development

How Adam7 Interlacing Makes PNG Images Load Faster and Sharper

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.

Adam7frontendimage optimization
0 likes · 8 min read
How Adam7 Interlacing Makes PNG Images Load Faster and Sharper
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 13, 2017 · Frontend Development

Choosing the Right Web Image Format: JPG, PNG, GIF, APNG & WebP Explained

This article reviews common web image formats—JPG, PNG, GIF, APNG, and WebP—detailing their compression methods, animation support, browser compatibility, and practical usage guidelines to help developers select the most efficient format for different scenarios.

JPEGWebPfrontend
0 likes · 10 min read
Choosing the Right Web Image Format: JPG, PNG, GIF, APNG & WebP Explained