Re: [imaging] Allow custom PaletteFactory for writing PNG files.

2023-05-23 Thread Vegt, Jeroen van der
___ From: Gary Gregory Sent: Tuesday, May 23, 2023 1:52:14 PM To: Commons Developers List Subject: Re: [imaging] Allow custom PaletteFactory for writing PNG files. Jeroen, That sounds interesting. Feel free to create a PR on GitHub. Gary On Tue, May 23, 2023, 05:59 Vegt, Jeroen van

Re: [imaging] Allow custom PaletteFactory for writing PNG files.

2023-05-23 Thread Gary Gregory
Jeroen, That sounds interesting. Feel free to create a PR on GitHub. Gary On Tue, May 23, 2023, 05:59 Vegt, Jeroen van der wrote: > Hi, > > > > I'm using Apache Commons Imaging to generate 8 bit (indexed) PNG files. > Unfortunately, there doesn't seem to be way to supply a custom color > palet

[imaging] Allow custom PaletteFactory for writing PNG files.

2023-05-23 Thread Vegt, Jeroen van der
Hi, I'm using Apache Commons Imaging to generate 8 bit (indexed) PNG files. Unfortunately, there doesn't seem to be way to supply a custom color palette. In particular, I'd like to use Wu's color quantization algorithm, https://gist.github.com/bert/1192520. Would a patch or PR allowing an (