![]() |
indexing into 8-bit - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: indexing into 8-bit (/Thread-indexing-into-8-bit) |
indexing into 8-bit - griddx - 03-22-2019 When i try to index a 24-bit image with less than 16 colors (with the default indexing settings), gimp reduces the bit depth to 4-bit, but i need it to be 8-bit. Is there any way i can stop gimp from reducing the bit depth too much? RE: indexing into 8-bit - rich2005 - 03-22-2019 Are you really using Windows 95? What version of Gimp? Those questions are not there just to annoy you ![]() Give more details of the image and Image format. Post an example if possible of the image from a WinXP machine. A quick convert from RGB to Indexed with 12 colours and a default export to png works here. ![]() Edit: A bit more digging and it does look like 4 bit is correct. Using Imagemagick it says 8 bit sRGB and then lists the (12) colour map. Further down in Properties it does say 4 bit. Converting the same to 256 colours and it reports 8 bit. Needs a bit more investigation. Code: Image: 1.png see: http://www.imagemagick.org/Usage/formats/#png Sub-Formats for the png types. Other formats, I do not know. RE: indexing into 8-bit - Ofnuts - 03-22-2019 You can color-index, and then artificially grow the color map to contain more than 16 entries (Windows>Dockable dialog>Color map, and hit the + button until you have more than 16 colors. The extra colors won't be used by the indexing but will force a 8-bit colormap to be used. RE: indexing into 8-bit - rich2005 - 03-23-2019 I went similar way as well but 17 colours then edited the colours to duplicated colours reducing the number of actual colours to (example) 12. Ofnuts method is better. ![]() I am still wondering why the requirement for 8 bit and also the actual file format. gif / png / tiff. ? RE: indexing into 8-bit - griddx - 03-25-2019 Thanks for the replies. Ofnuts' method worked for me. |