Search found 4 matches
- 2019-08-07T10:13:51-07:00
- Forum: Users
- Topic: Identify unique colors only
- Replies: 9
- Views: 12672
Re: Identify unique colors only
Thanks @snibgo! Is that doable through imagick or only command line?
- 2019-08-07T10:12:17-07:00
- Forum: Users
- Topic: Identify unique colors only
- Replies: 9
- Views: 12672
Re: Identify unique colors only
@fmw42 It's the default WordPress processing that I'm investigating, found inside their imagick class. You can view that file here . It's inside protected function thumbnail_image(), their PNG options are around line 374 at the moment. Maybe you guys can identify which process inflates the color ...
- 2019-08-07T09:53:16-07:00
- Forum: Users
- Topic: Identify unique colors only
- Replies: 9
- Views: 12672
Re: Identify unique colors only
Thanks that did the trick. I'm using it to observe some strange behaviour with WordPress/iMagick... their default PNG settings will inflate the color palette by quite a bit when they're creating the different-sized images for the image set (i went from 16 to 171!). I tried adding the 'png:preserve ...
- 2019-08-07T08:21:21-07:00
- Forum: Users
- Topic: Identify unique colors only
- Replies: 9
- Views: 12672
Identify unique colors only
I have a few PNGs and I'd like to store the number of unique colors in a variable for further processing, so what's the correct way to output that info? I can get the full report with identify myimage.png or identify -verbose myimage.png but neither of these suggested methods for outputting the ...