67 Commits

Author SHA1 Message Date
Chuck Walbourn
60fde45d28 Replaced use of CreateStreamOnHGlobal with a custom IStream 2021-04-06 17:52:47 -07:00
Chuck Walbourn
7df49719a1 Updated copyright banner 2021-02-26 22:59:42 -08:00
Chuck Walbourn
234eee8a01
Support for Windows Subsystem for Linux (#208) 2021-01-08 02:20:55 -08:00
Chuck Walbourn
f764da5176 Replaced _countof / ARRAYSIZE with std::size 2021-01-02 12:44:35 -08:00
Chuck Walbourn
6960436109 Added arm64 config to cmake 2020-11-10 23:26:09 -08:00
Chuck Walbourn
c32f12a3c1 Use SHCreateMemStream instead of CreateStreamOnHGlobal when possible 2020-11-09 13:15:55 -08:00
Chuck Walbourn
216e2b0388 Avoid static initialization order fiasco (#196) 2020-09-18 14:06:27 -07:00
Chuck Walbourn
b0667d7da9 Updates for Xbox 2020-08-12 14:35:39 -07:00
Chuck Walbourn
17aeb40917
Switched to using strongly typed flags (#179) 2020-06-01 00:42:02 -07:00
Chuck Walbourn
21f7e28b80
Added WIC_FLAGS_DEFAULT_SRGB flag (#178) 2020-05-27 02:29:55 -07:00
Chuck Walbourn
9adc918c98 Minor code review 2020-03-11 17:05:50 -07:00
Chuck Walbourn
c740c2f8e3 Supress warnings for VS 2019 (16.5 Preview) 2020-01-30 22:53:29 -08:00
Chuck Walbourn
e15f564ba7 Minor code review 2020-01-24 08:55:54 -08:00
Chuck Walbourn
316f65649b More noexcept annotation 2019-12-13 00:01:17 -08:00
Chuck Walbourn
7bda0c3a57
Return TEX_ALPHA_MODE_OPAQUE metadata if the reader knows it returned opaque alpha (#150) 2019-10-03 14:58:14 -07:00
Chuck Walbourn
5f125c6b8d
Add CMake project and fix clang warnings (#139) 2019-05-25 16:00:32 -07:00
Chuck Walbourn
cd8a682ca2
Added WIC_FLAGS_FORCE_SRGB / LINEAR flags for WIC writer (#127) 2018-12-07 15:44:31 -08:00
Chuck Walbourn
45ebdc46c5 A few SDL fixes for memcpy_s usage 2018-10-16 14:10:34 -07:00
Chuck Walbourn
2c82697c1b Improved validation where WIC requires a cast to UINT for pitch/imageSize 2018-07-27 01:02:56 -07:00
Chuck Walbourn
0d94e9469b
Fix compiler errors (Clang 6) (#37) 2018-06-12 18:07:34 -07:00
Chuck Walbourn
094988727e Minor code review feedback 2018-06-11 12:22:52 -07:00
Chuck Walbourn
8480f4fe5a Additional C++ Core Checker cleanup 2018-03-29 12:00:16 -07:00
Chuck Walbourn
327586970d Reformat code 2018-03-16 12:52:21 -07:00
Chuck Walbourn
3b05453e98 Fixed up comment header block 2018-02-23 22:24:46 -08:00
Chuck Walbourn
46e7ad7020 Minor code review 2018-01-18 15:02:05 -08:00
Chuck Walbourn
8ae822241a ScreenGrab updated to use non-sRGB metadataa for PNG 2017-09-19 11:39:39 -07:00
Chris Oates
211d960034 Added support for linear color space PNG writing (#48) 2017-09-19 09:57:36 -07:00
Chuck Walbourn
0eab1e7f83 Another update for VS 2017 (15.3) 2017-08-18 00:01:33 -07:00
Chuck Walbourn
31b6c9309c Minor code cleanup 2017-07-12 00:56:51 -07:00
Chuck Walbourn
0a85ac75a0 WIC format converter should use WICBitmapPaletteTypeMedianCut 2017-07-03 16:04:01 -07:00
Chuck Walbourn
5935e6baf0 VS 2017 updated for Windows Creators Update SDK (15063) 2017-04-07 23:09:28 -07:00
Chuck Walbourn
5db16bd5bb 40bppCMYKAlpha should be read as R8G8B8A8 2017-01-12 11:11:34 -08:00
Chuck Walbourn
8fcd276eba permissive- code cleanup 2017-01-10 14:51:52 -08:00
Chuck Walbourn
f45b7fb93b Code review feedback 2016-10-27 17:45:47 -07:00
Chuck Walbourn
51bc3d5b16 General code cleanuP 2016-09-08 19:09:46 -07:00
Chuck Walbourn
25dbe0e547 Code review feedback 2016-09-01 01:33:23 -07:00
Chuck Walbourn
4dd440e775 Normalize line endings 2016-08-22 11:26:36 -07:00
Chuck Walbourn
d3e3a12bba Minor code fix 2016-07-10 01:59:06 -07:00
Chuck Walbourn
2b22bfed1c Cleaned up /analyze warnings with VS 2015 Update 2 2016-03-18 00:48:24 -07:00
Chuck Walbourn
a7ffe96b3e Optional callback from WIC readers to get additional metadata queries 2016-03-03 18:44:40 -08:00
Chuck Walbourn
246bebc464 clean up image files on failed write 2016-02-10 14:11:05 -08:00
Chuck Walbourn
e3d21fc8c6 Fixed problems with WIC1 codepaths 2015-08-19 18:00:26 -07:00
Chuck Walbourn
7093178481 Added Get/SetWICFactory 2015-08-18 16:14:09 -07:00
walbourn_cp
f618e9f19d Fixed bugs in WIC loader for multframe images when resizing was required
- texconv & texassemble now load multi-frames if present from WIC files (tiff, gif)
2015-03-17 18:07:21 -07:00
walbourn_cp
91951178e0 Fixed warnings found by Dev14 CTP 2014-09-18 16:29:08 -07:00
walbourn_cp
501835a8b3 Xbox One platform changes 2014-09-15 10:32:51 -07:00
walbourn_cp
48e969aac7 Xbox One platform changes 2014-09-11 15:26:14 -07:00
walbourn_cp
c3ac93db96 Code Review feedback 2014-07-01 12:36:30 -07:00
walbourn_cp
b4b63a3557 Eliminate ScopedObject in favor of standard Microsoft::WRL::ComPtr 2014-01-15 17:08:08 -08:00
walbourn_cp
8bfc1b7de3 DirectXTex: Added WIC_FLAGS_IGNORE_SRGB to ignore the presense of sRGB metadata in WIC files 2013-07-31 00:39:59 -07:00