Commit Graph

16 Commits

Author SHA1 Message Date
Aaron Franke
409d9a502e Commit files changed by the formatting script 2020-04-25 00:21:48 -04:00
Bruno George de Moraes
c8cb464fe3 Further optimize img!
/encoder_lvl_vs_perf.png -- 7.22kb -> 6.18kb (14.4%)
/webgl/texture/preview.png -- 432.41kb ->  317.87kb (26.488%)
/contrib/single_file_transcoder/examples/testcard.png -- 10.55kb ->  7.90kb (25.1%)
/contrib/single_file_transcoder/examples/testcard-rgba.png -- 14.3kb ->  11.52kb (19.44%)
/webgl/gltf/preview.png -- 490.65kb ->  458kb (6.652%)
/contrib/previewers/win/preview.png -- 652.43kb ->  624.31 (4.31%)
Total:  1,609.39‬kb  -> 1425.78kb  (11.4%)
2020-04-02 15:13:03 -03:00
Rich Geldreich
6ef114ac1e Merge pull request #117 from cwoffenden/previewers-uastc
Updated Windows previewer with UASTC support
2020-03-22 23:38:27 -04:00
ImgBotApp
3cb4515cc0 [ImgBot] Optimize images
*Total -- 1,819.93kb -> 1,593.25kb (12.46%)

/encoder_lvl_vs_perf.png -- 13.04kb -> 7.22kb (44.68%)
/webgl/texture/preview.png -- 522.49kb -> 432.41kb (17.24%)
/contrib/single_file_transcoder/examples/testcard.png -- 12.38kb -> 10.55kb (14.79%)
/webgl/gltf/preview.png -- 563.41kb -> 490.65kb (12.91%)
/contrib/previewers/win/preview.png -- 708.61kb -> 652.43kb (7.93%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-03-22 08:23:08 +00:00
Carl Woffenden
56d2782b5f Minor docs 2020-03-21 16:31:39 +01:00
Carl Woffenden
310aea5a66 Minor typo 2020-03-21 15:42:19 +01:00
Carl Woffenden
2a48aaf0cc Fixes for the UASTC changes
Tested on Windows with both ETCS and UASTC files.
2020-03-21 15:40:14 +01:00
Carl Woffenden
267e00addb Minor performance tweak to the DIB creation loop 2019-10-05 11:47:46 +02:00
Carl Woffenden
a88ff8b9ac Removed preview pane
Simplified the PR by removing the (as yet unused) preview pane.
2019-10-05 11:38:24 +02:00
Carl Woffenden
582d8c8488 Switched to using Basis's own RGB transcode
Removed the DXT->RGB conversion now that the transcoder has an RGB option.
2019-10-03 19:26:46 +02:00
Carl Woffenden
5987afa171 Added resource preview pane. Minor tweaks.
Added the work-in-progress resource pane (to hold the file details, number of mips, etc.).  The Windows project shares the transcoder with the (future) Mac previewer.
2019-10-03 16:05:05 +02:00
Carl Woffenden
36de8d65c3 Tracking enum changes
Transcoder enums changed recently, so updated these. Switched to using the 'single file' transcoder (committed) so this will always build regardless of changes.
2019-10-03 10:38:30 +02:00
Carl Woffenden
79d043092f Added flush after updating DIB contents 2019-06-10 08:50:52 +02:00
Carl Woffenden
b1c5642c8d Fix for dimensions that aren't a multiple of four
Grows the preview size to the nearest 4x4 to match the block size used.
2019-06-09 21:17:01 +02:00
Carl Woffenden
7121deeef7 Preview image now local 2019-06-09 11:48:37 +02:00
Carl Woffenden
37a9dc3da3 Initial working Windows preview
Creates previews from Basis files. Rough but creates thumbnails and preview pane views from the first images nearest mipmap.
2019-06-08 18:49:08 +02:00