Commit graph YAPF/README.md
Author SHA1 Message Date
Nexoniarz
d7f494a0c9 Language bindings, KDE thumbnails, yapf compare, in-memory encoding
- yapf_encode() / yapf_free_buffer(): encode to memory; yapf_save uses it
- yapf.c also compiles as C++
- `yapf compare`: size and decode speed of the original format vs YAPF,
  with a lossless check
- bindings with tested examples: C++ (header-only), C# (P/Invoke),
  Rust (crate, builds the C code), Go (cgo), Java (FFM API, Java 22+),
  Zig (@cImport), LuaJIT (FFI), TypeScript types for the JS port;
  Python now encodes in memory
- docs/LANGUAGES.md and examples/ with measured results
- KDE Dolphin thumbnail plugin (KF6, CMake)
- README: honest status for Photoshop / VS Code / Figma (not run in the
  apps yet) and macOS (cross-compiled only), platform table

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:39:56 +02:00
Nexoniarz
2ca726e3af YAPF v1: fast byte-aligned format, SIMD, tools and plugins
Format (version 1, replaces the earlier experimental versions):
- per-tile YCoCg-R or subtract-green colour transform, 8-bit modular
- 12 row filters per 8-row band (Left, Gradient, Up-right, Up-average,
  Up 1-8 rows), none with more than a one-add serial dependency
- residuals in groups of 8 at the group's width (w bits x 8 = w bytes),
  4-bit control codes with repeat-previous-width runs chosen by DP
- constant and stored tiles, independent 64x64 tiles, mips, GPU hints
- all sizes validated before decoding; corrupt input is rejected

Library:
- SIMD on by default: SSSE3 (runtime CPUID check; GCC, Clang, MSVC,
  MinGW) and NEON on ARM64; -DYAPF_NO_SIMD for plain C
- yapf_load_memory, yapf_load_mt, yapf_load_memory_mt
- 6-10x faster decoding than PNG (stb_image) on one core; -O2 and -O3
  builds perform the same
- fixes for macOS (sysconf) and the Windows import library exports

Tools and integrations:
- `yapf` CLI: convert PNG/JPG/TGA/BMP/PSD/GIF <-> YAPF, info, bench,
  thumbnail, mips
- JavaScript and Python bindings (byte-identical to the C encoder)
- GIMP 3 plugin: exports the flattened image, optional mipmaps
- Blender extension: import (also as plane), export, drag and drop
- VS Code preview, Figma plugin, Photoshop scripts, Linux MIME type and
  thumbnailer
- Makefile, updated build.sh / build.bat, tools/build_release.sh
- tests/test_yapf.c (784 checks) and bindings/js/test.js

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:17:59 +02:00
Nexoniarz
b9b8c93a22
Add files via upload 2026-06-20 15:03:21 +02:00
Nexoniarz
64e18fd593
Delete README.md 2026-06-20 12:59:57 +00:00
Nexoniarz
af3793b453
Update README.md 2026-06-06 19:22:13 +00:00
Nexoniarz
31da3f5ac5
Update README.md 2026-05-14 22:22:35 +00:00
Nexoniarz
9477a9955a
Update README.md 2026-05-14 21:30:13 +00:00
Nexoniarz
1ed497c872
Update README.md 2026-05-14 12:15:09 +00:00
Nexoniarz
8056537dc5
Update README.md 2026-05-14 12:14:42 +00:00
Nexoniarz
9786bbe917
Update README.md 2026-05-13 20:26:51 +00:00
Nexoniarz
71dfc2a073
Update README.md 2026-05-13 20:21:53 +00:00
Nexoniarz
95f269d4fc
Update README.md 2026-05-13 20:21:32 +00:00
Nexoniarz
374e4e4ff1
Update README.md 2026-05-13 20:21:04 +00:00
Nexoniarz
0ffc53fc0a
Update README.md 2026-05-12 17:59:11 +00:00
Nexoniarz
6a9d921be3
Update README.md 2026-05-12 01:14:13 +00:00
Nexoniarz
a58550e74f
Update README.md 2026-05-12 01:13:38 +00:00
Nexoniarz
21c70ba18e
Create README.md 2026-05-12 01:07:33 +00:00