From f253c206bb37949ea28d4d52022cc8c424638a51 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 1 Apr 2024 17:35:41 +0000 Subject: miscellaneous update git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@4903 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- libppm.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libppm.html b/libppm.html index a37ac695..8e628316 100644 --- a/libppm.html +++ b/libppm.html @@ -500,6 +500,12 @@ name and multiple names for a given color. Entries in a color dictionary are ordered, and when Netpbm looks up a color name, it ignores all but the first entry for that name, and when it looks up a color, it ignores all but the first entry for that color. + +

Before Netpbm 11.07 (June 2024), ppm_readcolornamefile() fails if +your color dictionary has more than 1000 entries in it. So does +ppm_readcolordict if you request the color name array. This means +programs ppmhist with a -colorname option and ppmtoxpm +without a -hexonly option fail.

Netpbm is packaged with a color dictionary. A standard Netpbm installation installs this file as "misc/rgb.txt" in the Netpbm -- cgit 1.4.1