Commit Graph
246 Commits
Author SHA1 Message Date
Branimir Karadžić ddbeeae057 KTX/KTX2: Use zero depth to mean not a volume texture. (#151) 2026-09-05 02:02:53 +00:00
Branimir Karadžić 371d90098b Use zero depth to mean not a volume texture. (#150) 2026-08-12 17:59:36 -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ć da38bface6 Fixed bounds check, and EXR channel pixel type. (#145) 2026-07-21 22:38:04 +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ć 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ć a021904836 Added AVIF support. (#137) 2026-06-14 00:45:04 +00:00
Branimir KaradžićandCopilot 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ć 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
Branimir Karadžić a4fc744770 Added webp support. (#124) 2026-05-27 04:26:55 +00: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ć b43fea9eae Improve configurability. Issue #104. (#105) 2026-02-20 04:33:24 +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
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
Branimir Karadžić a1a2ae3c12 Update assert API to latest bx. 2025-08-23 09:21:29 -07:00
Nuno Silva 3af74f3fe1 fix exr memory allocation size overflow by turning the size into a uint64_t (#96) 2025-07-31 15:57:14 +00:00
Daniele Bartolini 5c1fffca4d Detailed message on error to parse EXR header. (#95) 2025-07-08 20:22:12 +01:00
Бранимир Караџић 446b9eb111 Removed requirement that .dds file set DDSD_CAPS and DDSD_PIXELFORMAT. 2025-03-06 19:29:43 -08:00
Бранимир Караџић c5c7b6e187 Happy New Year! 2025-01-13 15:45:33 -08:00
Бранимир Караџић b7130927db Cleanup. 2024-12-07 22:49:58 -08:00
Бранимир Караџић aaf9125234 Cleanup. 2024-07-20 08:40:02 -07:00
Бранимир Караџић e154af4821 Fixed error. 2024-07-20 07:34:30 -07:00
Бранимир Караџић 59f188a6ad HEIC: Fixed data copy when strides are mismatched. 2024-06-13 22:18:23 -07:00
Бранимир Караџић c4268ed766 Added option to build with libheif. 2024-06-11 17:58:39 -07:00
Branimir Karadžić e9fa0ceff2 DDS: Fixed legacy formats. 2024-03-27 22:00:55 -07:00
Бранимир Караџић 0903ea21d5 DDS: Fix legacy BGR formats. 2024-02-09 22:12:49 -08:00
Branimir Karadžić af81ff7a3c DDS: Recognize more formats. 2024-02-09 21:39:48 -08:00
Paul GruenbacherandRaziel Alphadios daedacc877 Fix ktx parsing failing if texture array has 6 layers (#84)
* Fix ktx parsing failing if texture array has 6 layers 

Fixing line in code that assumes if numSides == 6 then it must be a cubemap even though numSides in this situation can refer to numLayers as well.

* Update src/image.cpp

confirmed this works and makes sense

Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com>

---------

Co-authored-by: Raziel Alphadios <64050682+RazielXYZ@users.noreply.github.com>
2024-01-31 12:00:16 -08:00
Бранимир Караџић 964a5b8548 Happy New Year! 2024-01-14 01:56:15 -08:00
Бранимир Караџић 678b750128 Fixed calcNumMips for non-power-of-2 texture dimensions. 2023-12-11 07:42:34 -08:00
Бранимир Караџић 6c4d1888eb Cleanup. 2023-11-23 09:42:13 -08:00
Raziel Alphadios 82781e44d8 Ktx fixes (#82)
* Fix ktx issues that were making it out of spec

* Fix ktx cubemap mip size to follow spec (must not be multiplied by size in a cubemap)

* Remove numLayers from cubemap image size calculation since it is always 1 in this case
2023-10-07 23:07:25 -07:00