Andrew Murray

Results 764 comments of Andrew Murray

> the datadog says the memory cost is not most in self.load(). > > ![截屏2024-01-30 下午2 50 14](https://github.com/python-pillow/Pillow/assets/52686065/6870c369-8460-4b8c-8693-7a209aa07807) If I'm following, then you have looked at this diagram and think...

@zdyj3170101136 did that answer your question?

Oh, I thought that was your question. Pillow stores each pixel in an RGB image internally as 4 bytes. Your image is 140px wide by 91px high, multiplied by 4...

If I try the code from my previous comment with the same image in PNG format, I usually get 96kb or 112kb. The internal image is stored in the same...

@wiredfool while you're here and thinking about memory, did you have any thoughts on this issue?

Closing, as this is an issue asking a question, but it's not clear what the question is, and the user appears to have lost interest.

Recently, #7488 added "restart_marker_blocks" and "restart_marker_rows", and #7553 added "keep_rgb". Those were functional changes, whereas this is about saving a few bytes and grouping two libjpeg settings into one, which...

FreeTypeFontFamily doesn't have `getsize()` - but that's not a method that needs to be added later, it's a method that has been transitioned out of handling fonts in the latest...

> Cannot see download link for windows. Does this wheel 10.3.0 support fontfamily? If you scroll down on that page, you will see [dist-windows-x86](https://github.com/nulano/Pillow/actions/runs/8583137967/artifacts/1391010945), [dist-windows-ARM64](https://github.com/nulano/Pillow/actions/runs/8583137967/artifacts/1391001605) and [dist-windows-AMD64](https://github.com/nulano/Pillow/actions/runs/8583137967/artifacts/1391023653). Yes, those wheels...