ktx create not doing verbatim copy of EXR half_float. Also "Not enough precision" error message is unclear.
Maintainer thường phản hồi trong vòng 1 ngày
@MarkCallow đang làm issue này rồi.
Từ ngày 6/1/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
When loading an EXR file with half float channels and --format R32B32B32A32_SFLOAT ktx create raises an error
Not enough precision to convert 16 bit input to 32 bit output for R32B32B32A32_SFLOAT.
However ExrInput::ReadImage happily accepts a targetBitDepth of 32 which it passes on to LoadEXRImageFromMemory which returns float values. If I comment out this code https://github.com/KhronosGroup/KTX-Software/blob/b6190046bbf71e0fbf9e7a964f6ee39d726b16be/tools/ktx/command_create.cpp#L1406 where the error is raised then ktx create successfully creates the texture. So two questions:
- Why is it attempting to convert to float when it already has float? It requested float and received float.
- "Not enough precision"? TinyEXR is managing to do the conversion. Is this poor error message wording and ktx create simply does not implement such conversions?
The half-float file I've been using for testing is https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/main/ScanLines/Blobbies.jpg.
- Ngôn ngữ chính
- C++
- Star
- 1.4k
- Fork
- 328
- Merge trung bình
- 20 giờ 40 phút
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của KhronosGroup/KTX-Software
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
KhronosGroup/KTX-Software#1324 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
KhronosGroup/KTX-Software#1253 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
libktx: install format headers?Đang mởawaiting information
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
KhronosGroup/KTX-Software#1020 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Feature request: separating the core KTX file handling from the higher level supporting write toolsĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
KhronosGroup/KTX-Software#1327 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ktxTexture2_SetImageFromMemory is not accessible (i.e., must use ktxTexture_SetImageFromMemory instead)Có thể đã có người làm @walcht đã nhận 47 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
KhronosGroup/KTX-Software#1273 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của KhronosGroup/KTX-Software
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
Server crashes when a mob dies to poisonCó thể đã có người làm @joelstiller đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DarkCastleMUD/DarkCastle#305 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Issue]: RAS status report lists the wrong pids for an outlier nodeCó thể đã có người làm @bhargavchintam đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Niko1221/Strata#7365 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
BenjaminPoilve/minichord#203 ·