188 Commits

Author SHA1 Message Date
Dirk Lemstra a89f4e4523 Centralize checking if pinged images have a size that has zero columns or rows and removed redundant checks. 2026-05-30 15:09:28 +02:00
Javid Khan ab9328e427 reject dds files with zero columns or rows (#8762) 2026-05-26 19:36:58 +02:00
Dirk Lemstra 64fc55b6c3 Allow reading more pixel masks in the DDS decoder (#8723) 2026-05-14 15:47:40 +02:00
Dirk Lemstra 2abe65b018 Use the new license url. 2026-01-11 10:16:12 +01:00
Dirk Lemstra 485edb0144 Added support for reading 8 bit alpha only dds images (#8178) 2025-08-15 14:52:01 +02:00
Dirk Lemstra 642127e9a7 Use float specific methods to avoid a typecast to a double. 2025-06-08 17:46:24 +02:00
Dirk Lemstra 37464bd096 Added missing typecasts. 2025-06-08 17:34:54 +02:00
Cristy 7e5d87fe6e rename private safe recipicol and log10 macros 2025-06-07 08:53:23 -04:00
Dirk Lemstra 8449ac44e8 Code cleanup. 2025-05-13 08:04:30 +02:00
Dirk Lemstra 0ee0970d2a Added missing check for the pixel mask that should be used when reading the dds file (#8146). 2025-05-13 08:02:23 +02:00
Dirk Lemstra 92313f5bbe Allow BC5U as a FOURCC format to read a BC5 compressed image (#8082) 2025-04-06 15:02:43 +02:00
Cristy 9b44a0f902 to ensure code clarity and correctness 2024-11-09 20:59:17 -05:00
Dirk Lemstra c108ef0f16 Simplify checks. 2024-10-22 19:50:21 +02:00
Cristy 4caf7d13ba update copyright year 2024-08-27 21:36:36 -04:00
Dirk Lemstra 59fa6fd75b Corrected check for width and height when skipping the mipmaps. 2024-02-07 13:25:07 +01:00
Dirk Lemstra c317606636 Renamed method that skips the mipmaps. 2024-02-07 13:24:18 +01:00
Dirk Lemstra e9702b43fc Fixed running identify one dds files with a cubemap. 2024-02-07 11:34:18 +01:00
shrddr ecf1b27680 fix misleading comment in dds.c (#7075) 2024-01-29 19:58:03 +01:00
Cristy fd06abe79e improve I/O exception checking 2023-11-18 10:42:44 -05:00
Cristy be9eabf305 eliminate compiler warnings 2023-09-14 13:35:32 -04:00
Cristy cb564ee134 fix comparison of unsigned expression 2023-08-19 19:17:45 -04:00
Cristy 8c4f48c576 fix comparison of unsigned expression 2023-08-19 16:45:11 -04:00
Cristy f550f1adb3 fix comparison of unsigned expression 2023-08-19 16:43:24 -04:00
Cristy 54387bf1f9 fix comparison of unsigned expression < 0 2023-08-19 16:25:00 -04:00
Cristy 557db5de50 fix comparison of integers of different signs 2023-08-19 16:21:37 -04:00
Cristy 2abeeac952 fix comparison of integers of different signs 2023-08-19 16:10:16 -04:00
Cristy 803391ddae eliminate compiler warnings 2023-08-19 13:00:18 -04:00
Dirk Lemstra 264acfcdc3 Code style changes. 2023-06-28 08:05:04 +02:00
jxxsd 50453b21e2 Add support for DXGI_FORMAT_R10G10B10A2_UNORM (#6423) 2023-06-22 22:04:54 -04:00
Cristy 242e940451 consistent method to check for alpha channel 2023-04-15 18:44:41 -04:00
Cristy 3b84c79490 eliminate compiler warning 2023-04-09 08:28:44 -04:00
Cristy fba0e38896 eliminate compiler warnings (https://github.com/ImageMagick/ImageMagick/pull/6230) 2023-04-09 07:36:44 -04:00
Cristy 844d21bd6e eliminate compiler warning 2023-02-25 12:15:06 -05:00
Dirk Lemstra 7e5875b97e Added support for reading ATI2 (BC5) images (#5919). 2023-02-12 19:01:49 +01:00
Dirk Lemstra b430dc10bb Code cleanup. 2023-02-12 19:00:54 +01:00
Dirk Lemstra 75aac78f97 alpha_trait should be undefined for ReadBC5. 2023-02-11 12:10:59 +01:00
Dirk Lemstra f01454c881 There is no need to set the alpha channel. 2023-02-11 12:07:39 +01:00
Dirk Lemstra 5d002fd6e3 Avoid typecasting. 2023-02-11 12:05:03 +01:00
Dirk Lemstra b5df91a8c0 Another minor change. 2023-02-11 12:01:11 +01:00
Dirk Lemstra 322e4bce66 More code style changes. 2023-02-11 11:58:36 +01:00
Dirk Lemstra 3a69948d93 Changed order. 2023-02-11 11:54:34 +01:00
Dirk Lemstra 89826e5b12 Code style changes. 2023-02-11 11:53:57 +01:00
Dirk Lemstra 6ef17a6e95 Added BC5Compression. 2023-02-11 11:24:53 +01:00
Momtchil Momtchev 876b2eb36a add BC5_UNORM compression support (#6039) 2023-02-11 11:22:32 +01:00
Dirk Lemstra c50602cc46 Minor style change. 2022-09-29 23:23:37 +02:00
LoserFox db07be8e07 Fix DDS file DDPF_LUMINANCE type of data (#5452) 2022-09-29 23:21:39 +02:00
Dirk Lemstra 2ad04718fd Silenced warnings. 2022-09-05 19:55:44 +02:00
Cristy d90c06fef6 eliminate icc compiler warnings 2022-06-12 13:05:22 -04:00
Cristy 80bd592dd2 eliminate lint warnings 2022-06-11 19:59:28 -04:00
Cristy b2eaec1359 optimize logging 2022-04-29 21:51:24 -04:00