Commit Graph

133 Commits

Author SHA1 Message Date
Fabien LOISON 01a713c32a
chore: Fixed coding style according to Black 24.x 2024-01-29 09:31:16 +01:00
Fabien LOISON 0204383719
v1.3.1 2024-01-07 11:57:21 +01:00
Fabien LOISON b946eb5f2a
v1.3.0 2024-01-06 16:56:39 +01:00
Fabien LOISON 80331b1156
v1.2.3 2023-10-06 14:17:05 +02:00
Fabien LOISON b3c49cd87c
Typo and fixed codespell config 2023-08-28 10:13:12 +02:00
Fabien LOISON 494a5fba72
Refacto: better type check, and removed Python 2.7 specific code 2023-08-28 10:12:46 +02:00
Fabien LOISON 2e4ad6d761
v1.2.2 2022-10-29 13:37:12 +02:00
Kian-Meng Ang 1986a95063 Fix typos and add codespell to nox 2022-10-18 00:29:42 +08:00
Fabien LOISON 26635f0bd3
Update the code to not use deprecated constants on newer Pillow versions 2022-10-12 14:33:20 +02:00
Fabien LOISON aaa6e5f1a1
Color quantization: Python documentation 2022-05-12 17:02:07 +02:00
Fabien LOISON 4ed2de94c9
Image quantization implemented 2022-05-12 11:32:02 +02:00
Fabien LOISON 11637672e0
Add CLI options for image quantization 2022-05-11 16:57:00 +02:00
Fabien LOISON 9897107a66
Add options for quantization 2022-05-11 16:29:09 +02:00
Fabien LOISON aa5c2221be
Fix: YOGA Image: output file is not properly closed is some situations 2022-05-09 17:21:01 +02:00
Fabien LOISON 67c2aff568
v1.1.2 2021-10-15 10:00:48 +02:00
Fabien LOISON 52aad6e739
Add flag to CFFI builder to fix MacOS build 2021-10-15 09:57:52 +02:00
Fabien LOISON 1f8e63813e
v1.1.1 2021-10-14 16:02:39 +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 1ed3a44570
v1.1.0 2021-08-27 14:01:56 +02:00
Fabien LOISON 3a31472120
CLI: Add a --version option to display the YOGA's version 2021-08-27 11:35:39 +02:00
Fabien LOISON b405802d73
Add mozjpeg-lossless-optimization 2021-08-09 10:58:11 +02:00
Fabien LOISON 0cd6721436
Remove obsolete Python 2.7 code 2021-07-02 16:19:33 +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 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 be40ecd5e7
Handle exceptions 2021-07-01 14:26:50 +02:00
Fabien LOISON 45eb0478a6
Improve usage of 'yoga -h' 2021-06-29 17:03:59 +02:00
Fabien LOISON 1f18966637
Handle JPEG Orientation Exif tag and transpose image accordingly 2021-06-29 15:53:19 +02:00
Fabien LOISON fb84b142ee
Add a new path to decode input image formats 2021-06-29 14:51:39 +02:00
Fabien LOISON 8526ccd2a6
Allow to cancel optimizations with SIGINT (Ctrl+C) 2021-06-23 11:20:46 +02:00
Fabien LOISON d74d9bd5ca
Drop Python 2.7 support 2021-06-23 11:17:26 +02:00
Fabien LOISON 75e93a09a9
Fix Python 2.7 2021-04-27 12:15:34 +02:00
Fabien LOISON 00023f5a48
Fix Windows build 2021-04-27 12:03:39 +02:00
Fabien LOISON 953791bf76
Fixes linux build 2021-04-27 11:05:45 +02:00
Fabien LOISON a03a6ba8f3
Display CLI usage when YOGA is called with no argument 2021-04-26 17:17:30 +02:00
Fabien LOISON d232d168d2
Update documentation 2021-04-26 17:01:04 +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 8f4d1de706
Merge branch 'webp-support' 2021-04-16 10:19:56 +02:00
Fabien LOISON 6d40dc9c09
Updates documentation for webp 2021-04-16 10:17:47 +02:00
Fabien LOISON 68ca4d3e78
Adds webp support in the CLI 2021-04-15 18:15:11 +02:00
Fabien LOISON 31d1e5082f
Adds webp/webpl support in the image optimization function 2021-04-15 18:05:46 +02:00
Fabien LOISON 52e03821ce
Refactors the image optimization function 2021-04-15 17:27:46 +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 4c50017826
Fixes Python 2.7 2021-04-15 11:58:59 +02:00
Vincent Riche f46b637bd8 rename flag variables 2021-04-15 11:38:14 +02:00
Vincent Riche d27b0ce851 Rename options flag enum and adjust comments 2021-04-15 10:46:31 +02:00
Fabien LOISON 9f8759e153
Adds a function to decode VP8X chunks 2021-04-14 16:45:36 +02:00
Vincent Riche 352e86c23f fix lint 2021-04-14 16:43:23 +02:00