Commit Graph

56 Commits

Author SHA1 Message Date
Kian-Meng Ang 1986a95063 Fix typos and add codespell to nox 2022-10-18 00:29:42 +08:00
Fabien LOISON 4ed2de94c9
Image quantization implemented 2022-05-12 11:32:02 +02:00
Fabien LOISON 9897107a66
Add options for quantization 2022-05-11 16:29:09 +02:00
Fabien LOISON 8cd77aee9a
JPEG: ignore invalid values for the the orientation tag (closes #38) 2021-10-04 15:42:28 +02:00
Fabien LOISON 2d6421e1c7
Clean WebP tests where `object` variable was used instead of `self` 2021-07-02 16:03:44 +02:00
Fabien LOISON 5362ec8be9
Simply clean and recompress PNGs if ZopfliPNG fails to reduce the image 2021-07-02 15:55:23 +02:00
Fabien LOISON 65ab64594e
Add unit test for the is_png function 2021-07-02 15:03:28 +02:00
Fabien LOISON 55c9e48c86
WIP: PNG file generation 2021-07-02 14:58:31 +02:00
Fabien LOISON 836967947e
WIP: PNG file decoding 2021-07-02 11:53:27 +02:00
Fabien LOISON 1f18966637
Handle JPEG Orientation Exif tag and transpose image accordingly 2021-06-29 15:53:19 +02:00
Fabien LOISON 1cced86b5a
lsexif script and jpeg orientation test images 2021-06-29 15:01:26 +02:00
Fabien LOISON d74d9bd5ca
Drop Python 2.7 support 2021-06-23 11:17:26 +02:00
Fabien LOISON 779a3a7eba
Change default PNG optimization preset (the old one is available with --png-slow-optimization) 2021-04-26 16:28:16 +02:00
Fabien LOISON 688e04daa3
Do not skip the gltf output test anymore, adds a mission test for image format = auto 2021-04-16 15:34:05 +02:00
Fabien LOISON 8f4d1de706
Merge branch 'webp-support' 2021-04-16 10:19:56 +02:00
Fabien LOISON 31d1e5082f
Adds webp/webpl support in the image optimization function 2021-04-15 18:05:46 +02:00
Fabien LOISON d06c0c6854
Change image type checks in the tests before adding webp support 2021-04-15 16:46:11 +02:00
Fabien LOISON b3f45535dc
Adds webp and webpl output formats in image options 2021-04-15 15:57:41 +02:00
Fabien LOISON 7415116b2f
Adds webp quality option 2021-04-15 15:49:22 +02:00
Fabien LOISON 7b4c7bc661
Adds lossless webp support 2021-04-15 15:42:30 +02:00
Fabien LOISON f4988b2983
Check VP8X flags in tests 2021-04-15 10:55:20 +02:00
Fabien LOISON 9f8759e153
Adds a function to decode VP8X chunks 2021-04-14 16:45:36 +02:00
Vincent Riche 8e104158b6 Add option to disable fix-infacing-normals flag 2021-04-14 16:27:11 +02:00
Fabien LOISON 835639200a
Lossy webp encoder added 2021-04-12 18:06:40 +02:00
Fabien LOISON 4803e3f760
Refactoring: split encoders (one per file), moves the format detection code in the dedicate dencoder 2021-04-12 17:32:23 +02:00
Fabien LOISON 330befe39a
Adds a debug script to list RIFF chunks 2021-04-06 17:31:37 +02:00
Fabien LOISON 1136e7b769
Adds webp detection in gess_image_format helper 2021-04-06 16:29:28 +02:00
Fabien LOISON 6380a915b8
Reformat tests with black 2021-03-29 13:57:02 +02:00
Alexis Breust 2a4b500132 Fixes #8 - Handling unicode paths 2018-05-15 11:05:06 +02:00
Alexis Breust 1cf85382ad Fixes not python3-friendly 2018-05-11 16:12:46 +02:00
A. Breust 52135ca713
Added blank line 2018-05-11 15:00:16 +02:00
Alexis Breust 9296356f9d Merge remote-tracking branch 'origin/10-preloaded-images' into 9-fallback-texture 2018-05-09 10:04:25 +02:00
Alexis Breust 7e7b18fc6b Followed @flozz suggestions 2018-05-09 09:50:13 +02:00
Alexis Breust 9192177ac7 Merge remote-tracking branch 'origin/10-preloaded-images' into 9-fallback-texture 2018-05-07 17:04:42 +02:00
Alexis Breust 2fb30576ba Normalization for paths and textures 2018-05-07 11:47:34 +02:00
Alexis Breust 9ae8052823 Implemented fallback textures 2018-05-04 11:03:47 +02:00
Alexis Breust 86c59690d6 Added fallback-texture option to cli and normalizing it 2018-05-03 17:59:10 +02:00
Alexis Breust c2945a0ae4 Added possibility to pass a textures dictionary 2018-04-23 17:42:32 +02:00
Fabien LOISON ad59544cbb
umplements 'auto' output format 2018-03-12 17:30:41 +01:00
Fabien LOISON 69dc7c656a
parametrize test_model.py 2018-03-02 17:45:37 +01:00
Fabien LOISON bb3d2de51f
parametrize test_image_helpers.py 2018-03-02 17:32:05 +01:00
Fabien LOISON 2e09cfb4c6
parametrize test_image_options.py 2018-03-02 14:51:38 +01:00
Fabien LOISON 87da89c529
parametrize test_image.py 2018-03-01 17:41:55 +01:00
Fabien LOISON fd7cd85a30
parametrize image resize option test 2018-03-01 17:04:10 +01:00
Alexis Breust 93808837f7 Expecting exception 2018-01-22 17:57:56 +01:00
Alexis Breust 1c65c06a6c Samller texture for quicker tests 2018-01-22 11:27:32 +01:00
Alexis Breust 5c6712e0cb Full chain of import/export with assimp working 2018-01-19 09:56:47 +01:00
Alexis Breust 7faee5804a Added model tests 2018-01-18 17:44:43 +01:00
Alexis Breust 4d2bf393f5 Added some tests 2018-01-18 15:44:13 +01:00
Fabien LOISON 74392397cb
image resize implemented 2018-01-15 11:22:06 +01:00