Commit graph

8 commits

Author SHA1 Message Date
Kovid Goyal
b07d4059d3
Ensure output rgba data file is unlinked on error 2024-10-11 19:01:02 +05:30
Kovid Goyal
31fad78829
Better error message when __convert_image__ fails to write output 2024-10-11 18:55:00 +05:30
Kovid Goyal
f1d0d0949b
Run pyupgrade to update the codebase to python 3.9
Gets rid of a lot of typing ugliness by using type annotations on
builtin types
2024-07-31 07:55:27 +05:30
Kovid Goyal
b97b16da58
DRYer 2024-07-23 17:36:41 +05:30
Kovid Goyal
d73bb83741
Simplify render cache to use unique file identity as key 2024-07-23 17:23:22 +05:30
Kovid Goyal
a0dc062032
Fix render cache not being used 2024-07-23 15:07:41 +05:30
Kovid Goyal
8426091169
Dont leak file handle if locking fails 2024-07-23 13:39:54 +05:30
Kovid Goyal
8201f0dd0e
Move caching implementation to Python
Less code, more performant since the cache is used from Python.
And we can make the Go code a pure image format conversion filter.
2024-07-23 13:37:53 +05:30