Andrew Murray

Results 765 comments of Andrew Murray

Oh, right, sorry, I was just looking at the code for Image, not ImageFile.

I've created PR #7435 to resolve this. I haven't included logging as you suggested - Pillow has some, but not much, logging, and given that it is mostly not present,...

Originally reported in https://github.com/python-pillow/Pillow/issues/3984#issuecomment-513617007. To understand the scope of what you are interested in, after loading, what would like to do with the images? Convert them to another mode? Save...

ExtraSamples describes the state of the alpha - https://www.awaresystems.be/imaging/tiff/tifftags/extrasamples.html. So I would think that the situation from @ioyaeu isn't different from the general request for CMYKA.

Looking at "DEVDEP.ICO", it's actually not device-dependent, but in "[both](http://fileformats.archiveteam.org/wiki/Windows_1.0_Icon)" formats. I presume that it is also able to be added to our test suite, and distributed under the Pillow...

Closing due to [lack of interest.](https://github.com/python-pillow/Pillow/issues/7320#issuecomment-2029506669)

@superbonaci if that is a note to yourself, ok, but [the intention from our side](https://github.com/python-pillow/Pillow/issues/7320#issuecomment-2029506669) is that this is not something that will be done.

> although the created palette has always 256 colors as needed in other PIL structures using Palettes Since #5552, this is actually no longer the case. > Strangely, that is...

> Moreover, the current implementation will simply ignore the last 3 colors in a 256 GIMP GPL file. If I artificially fill the palette up to 256 colors with Python...

Ok, I see what you're saying about colors being skipped now. [Fields and comment lines count towards the 256 total.](https://github.com/python-pillow/Pillow/blob/243402e78e2bf2b7af478c6d891816e372b5c3f9/src/PIL/GimpPaletteFile.py#L34-L42) I guess I was mistaken in my last comment. Thanks...