443 Commits

Author SHA1 Message Date
Branimir Karadžić
b8cef564e3 texturec: Added positional arguments. (#149) 2026-08-09 01:23:58 -07:00
Branimir Karadžić
3b4baab012 Add BC4S, BC5S, BC6HU, RGB10A2U and D32FS8 texture formats. (#148) 2026-07-29 13:44:51 -07:00
Branimir Karadžić
0a64629d9f Updated tintexr. (#147) 2026-07-23 01:29:51 +00:00
Branimir Karadžić
e95c449452 Updated stb_image. (#146) 2026-07-22 18:01:54 -07:00
Branimir Karadžić
da38bface6 Fixed bounds check, and EXR channel pixel type. (#145) 2026-07-21 22:38:04 +00:00
Branimir Karadžić
be16d98e34 Updated simplewebp. (#144) 2026-07-16 16:20:24 +00:00
Branimir Karadžić
c3cf9afef0 Respect BIMG_CONFIG_PARSE_ENABLED for WIC parser. (#143) 2026-07-08 20:11:46 +00:00
Branimir Karadžić
3b3dc2b708 Added WIC decoder. (#141) 2026-06-24 04:58:43 +00:00
Branimir Karadžić
cdf0b9b5ac Updated etcpak. Added ETC2A/EAC encode and EAC/ETC2A1 decode. (#139)
* Updated etcpak. Added ETC2A/EAC encode and EAC/ETC2A1 decode. (#139)

Corrects the message of commit 41c867b. Files:
  - 3rdparty/etc2/LICENSE.txt
  - 3rdparty/etc2/Math.hpp
  - 3rdparty/etc2/ProcessCommon.hpp
  - 3rdparty/etc2/ProcessRGB.cpp
  - 3rdparty/etc2/ProcessRGB.hpp
  - 3rdparty/etc2/Tables.cpp
  - 3rdparty/etc2/Tables.hpp
  - 3rdparty/etc2/Types.hpp
  - 3rdparty/etc2/Vector.hpp
  - 3rdparty/etcpak/Dither.cpp
  - 3rdparty/etcpak/Dither.hpp
  - 3rdparty/etcpak/ForceInline.hpp
  - 3rdparty/etcpak/LICENSE.txt
  - 3rdparty/etcpak/Math.hpp
  - 3rdparty/etcpak/ProcessCommon.hpp
  - 3rdparty/etcpak/ProcessRGB.cpp
  - 3rdparty/etcpak/ProcessRGB.hpp
  - 3rdparty/etcpak/Tables.cpp
  - 3rdparty/etcpak/Tables.hpp
  - 3rdparty/etcpak/Vector.hpp
  - scripts/bimg_encode.lua
  - src/image.cpp
  - src/image_encode.cpp
2026-06-17 22:06:30 -07:00
Branimir Karadžić
964a6e5815 ƒƒ‚# This is a combination of 2 commits. (#139)
Updated etcpak. Added ETC2A/EAC encode and EAC/ETC2A1 decode.

.
2026-06-17 21:47:27 -07:00
Branimir Karadžić
0d3cfc25b5 Fixed warnings. (#138) 2026-06-14 04:33:13 +00:00
Branimir Karadžić
a021904836 Added AVIF support. (#137) 2026-06-14 00:45:04 +00:00
Branimir Karadžić
fd444471ab Report clear error when encoding to ETC2A/ETC2A1. Issue #91. (#136)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 00:08:36 -07:00
Branimir Karadžić
c6f3343815 Image parse metadata only. Issue #128. (#135) 2026-06-12 23:47:01 -07:00
Branimir Karadžić
7a12ad7e4d Updated TinyEXR v3.0.0. (#134) 2026-06-12 15:17:54 +00:00
Branimir Karadžić
058ab76a0d Updated TinyEXR. (#132) 2026-06-12 03:26:52 +00:00
Branimir Karadžić
31fdd17215 Widen image size APIs to 32/64-bit to fix dimension truncation. (#131) 2026-06-03 19:03:46 +00:00
Branimir Karadžić
a30057e440 Updated stb_image_resize v1 to v2. (#130) 2026-06-03 17:02:44 +00:00
Branimir Karadžić
0c85c0ac3d Updated TinyEXR. (#129) 2026-06-03 16:18:42 +00:00
Branimir Karadžić
43fef5f44e Added .ktx2 support. (#127) 2026-05-28 20:12:02 -07:00
ShuangLiu1992
4e00d20f52 nvtt: posh.h — switch EMSCRIPTEN macro to __EMSCRIPTEN__ (#126)
emsdk >= 5.0 no longer predefines the legacy `EMSCRIPTEN` macro,
only `__EMSCRIPTEN__` (see emscripten-core/emscripten#21899). Switch
posh's OS+CPU detection to the modern spelling so vendored nvtt builds
under current emsdk.

Without this, posh falls through to "unknown OS", defsgnuclinux.h is
never included, `#define restrict __restrict__` never runs, and
nvcore/utils.h ships bare `restrict` into clang which rejects it
("expected ')'"). POSH_CPU detection then also fails with "POSH cannot
determine target CPU".

Suggested by @bkaradzic — drop the legacy spelling rather than add
`__EMSCRIPTEN__` alongside it.
2026-05-28 17:05:22 +00:00
Branimir Karadžić
a4fc744770 Added webp support. (#124) 2026-05-27 04:26:55 +00:00
Branimir Karadžić
5c7eabb1d7 CI: Remove osx-x64. (#121) 2026-05-04 07:54:02 -07:00
Branimir Karadžić
0014aa0f14 Match CI with bx. (#120) 2026-05-04 01:18:30 +00:00
Branimir Karadžić
0477714903 CI: expand coverage (#119) 2026-05-03 17:09:04 -07:00
Branimir Karadžić
848cb5f404 Updated to new SIMD. (#117) 2026-05-03 18:28:20 +00:00
Martijn Courteaux
60108ad6ee Respect BIMG_CONFIG_DECODE_ASTC earlier (#118) 2026-05-03 16:40:50 +00:00
Branimir Karadžić
e4294241cd Renamed bx::uint32_min to bx::min. (#116) 2026-04-27 04:07:39 +00:00
Branimir Karadžić
abc7dea050 Fix crashes on malformed/unsupported images. (#115) 2026-04-25 20:15:59 -07:00
Xi Ma Chen
60d8bd454c Fix mip calculation for compressed formats. (#94) 2026-04-23 13:54:13 -07:00
Branimir Karadžić
6fa3a8b209 Add guards against malformed images. (#114) 2026-04-23 13:47:52 -07:00
Branimir Karadžić
18d3d64042 Fixed #86 (#113) 2026-04-21 21:57:21 -07:00
Branimir Karadžić
8cad52a078 Fixed #80 (#112)
* Fixed BC4/BC5 decoding to BGRA8/RGBA32F, and silenced BC7 -Wstringop-overflow warning. Fixed #110. (#111)

* Fixed #80.
2026-04-21 21:55:42 -07:00
Branimir Karadžić
2317bb623a Fixed BC4/BC5 decoding to BGRA8/RGBA32F, and silenced BC7 -Wstringop-overflow warning. Fixed #110. (#111) 2026-04-18 11:18:16 -07:00
Branimir Karadžić
9114b47f53 Fixed EXIF parsing. Issue #108. (#109) 2026-03-23 01:21:35 +00:00
Branimir Karadžić
6c13a0c8a8 Added ability to configure supported image format parsers. (#107)
* Added ability to configure supported image format parsers.

* Added comments.
2026-03-11 21:34:08 -07:00
Branimir Karadžić
5a79b67a49 NVTT: Fixed buffer overflow. (#106) 2026-03-03 22:03:46 +00:00
Branimir Karadžić
b43fea9eae Improve configurability. Issue #104. (#105) 2026-02-20 04:33:24 +00:00
Sergio R. Z. Masson
0571f0abad Replaced sizeof(exp) with a more static analysis frendly implementation. (#102) 2026-02-11 16:46:48 +00:00
Branimir Karadžić
a0204c79f9 Happy New Year! (#101) 2026-01-14 15:38:13 +00:00
Seremo
4f1916fca2 Fix swapped RGB5A1 and BGR5A1 format labels in s_ddsFormat (#93) 2026-01-12 15:02:50 +00:00
attilaz
bf10ffbb3d Fixed blockinfo for eac rg formats (#100)
See format info here:
https://docs.gl/es3/glCompressedTexImage2D
2025-11-13 14:38:09 +00:00
Бранимир Караџић
5f03f4867d Updated README. 2025-11-11 10:06:36 -08:00
Branimir Karadžić
73d034d6d4 Fix CI. (#99) 2025-11-11 17:49:07 +00:00
Бранимир Караџић
06614b7dfb Fix CI. 2025-11-11 09:25:57 -08:00
Бранимир Караџић
77d584bcf7 Added CI. 2025-11-11 09:24:03 -08:00
Branimir Karadžić
2d4e6c6de1 Added EAC texture formats. (#98) 2025-11-11 16:15:57 +00:00
attilaz
b8603b8456 ktx: fixed srgb for etc2/bc7 textures (#97) 2025-11-11 14:52:12 +00:00
Бранимир Караџић
b464b67889 Added sponsor button. 2025-11-02 18:46:57 -08:00
Бранимир Караџић
5060d172e7 Updated error message. 2025-08-23 09:22:31 -07:00