Error loading palette, what's going wrong? #215
-
|
Near Infinity Version: v2.4-20260109 NI is having trouble loading a color palette from an existing image. I don't know if this is intentional or what the system expects.
age below)
Workaround:
This leads me to believe that NI should actually be able to load the color palette from the images instead of throwing an error... Testimages for reproducability: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
The "External palette" button from the Palette dialog can only be used to load a palette from a graphics file that contains explicit palette definitions. The list of filter types in the open dialog indicates that only the color palettes are loaded from the specified file. (24- or 32-bit) true color images don't contain explicit color palette definitions, so NI complains about it. I could improve the wording of the error message though. Your workaround for generating an initial palette is probably the best option if you don't have an explicit palette at hand. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the explanation! |
Beta Was this translation helpful? Give feedback.

The "External palette" button from the Palette dialog can only be used to load a palette from a graphics file that contains explicit palette definitions. The list of filter types in the open dialog indicates that only the color palettes are loaded from the specified file.
(24- or 32-bit) true color images don't contain explicit color palette definitions, so NI complains about it. I could improve the wording of the error message though.
Your workaround for generating an initial palette is probably the best option if you don't have an explicit palette at hand.