Alexander Karpinsky

Results 41 issues of Alexander Karpinsky

This is an attempt to spot all geometry issues in VIPS resizing at once. Pillow 7.0 has been released today (no SIMD version yet) and I've implemented a new resizing...

enhancement

This PR introduce interface for reading transformations for given `heif_image_handle`. # Rationale The current rotation implementation is pretty straight and that is why inefficient on modern CPUs. For example, It...

First about aborting. This is unexplainably magic. I can only suppose what IE require closure in this place. But this is fact: requests with `onprogress = $.noop` fails in many...

Otherwise, the following code is required: ```python class Application(Application): @property def _log_request(self): return False @_log_request.setter def _log_request(self, value): pass app = Application(log_request=False) ```

I've tried current main branch and 0.8.1. In bot cases `cjxl --resampling=2` works about 8.5 times slower, than other values for this option. ``` # cjxl --resampling=1 ../down.png ../down.1x.jxl JPEG...

cjxl
speedup
unrelated to 1.0

From `cdxl --help` output: > --resampling=-1|1|2|4|8 Resampling for extra channels. Default of -1 applies resampling only for low quality. Value 1 does no downsampling (1x1), 2 does 2x2 downsampling, 4...

documentation
question
cjxl
unrelated to 1.0
colorspace

https://github.com/dmontagu/fastapi-utils/blob/3ef27a6f67ac10fae6a8b4816549c0c44567a451/fastapi_utils/tasks.py#L78 https://docs.python.org/3/library/asyncio-future.html#asyncio.ensure_future > Save a reference to the result of this function, to avoid a task disappearing mid-execution.

bug

First of all, thanks for the great tool, I really like to use it in every Python project. I understand the main idea that first of all `isort` is a...

``` # aerich init -t project.settings.DATABASE ... File "/usr/local/lib/python3.11/site-packages/aerich/cli.py", line 205, in init doc["tool"]["aerich"] = table ~~~^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/tomlkit/container.py", line 650, in __getitem__ raise NonExistentKey(key) tomlkit.exceptions.NonExistentKey: 'Key "tool" does not...