Trying to import a 16-bit grayscale .dds (heightmap) without converting to 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: Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit (/Thread-Trying-to-import-a-16-bit-grayscale-dds-heightmap-without-converting-to-8-bit) |
Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit - mikusingularity - 09-24-2020 I am trying to modify a 8192 x 4096 16-bit .dds heightmap of the Earth, but whenever I import it, it always converts to 8-bit. Is there any way I can import without it becoming 8-bit? Or if GIMP cannot do that, which program can? RE: Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit - rich2005 - 09-25-2020 Can you post a link to one of these files, the only example dds I have is 8 bit (per channel) as reported by ImageMagick and a search only brings up the same. RE: Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit - bram - 11-18-2020 (09-25-2020, 07:57 AM)rich2005 Wrote: Can you post a link to one of these files, the only example dds I have is 8 bit (per channel) as reported by ImageMagick and a search only brings up the same. I have the same issue. I created my image with this header: Code: DDS_PIXELFORMAT pf = Here's an example 16 bit luminosity file, I created: https://stolk.org/tmp/out.dds RE: Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit - rich2005 - 11-19-2020 No further forward here. Still opens in Gimp as 8 bit and ImageMagick also thinks it is 8 bit. Code: Image: RE: Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit - bram - 11-19-2020 (11-19-2020, 01:22 PM)rich2005 Wrote: No further forward here. Still opens in Gimp as 8 bit and ImageMagick also thinks it is 8 bit. I think both ImageMagick and Gimp are mistaken. Code: $ sudo apt install libnvtt-bin Code: $ nvddsinfo out.dds It clearly states: bitcount 16, and mask 0x0000ffff Additionally, Ubuntu's 'file' command also correctly identifies it! Code: $ file ./out.dds RE: Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit - bram - 11-19-2020 Let me note further that this is a DDS specific bug, as PGM images 16 bit deep, are correctly loaded by GIMP with 16 bit precision. RE: Trying to import a 16-bit grayscale .dds (heightmap) without converting to 8-bit - rich2005 - 11-19-2020 Yeah, looks like not supported by Gimp. Since the dds plugin is now incorporated in Gimp 2.10 you can report this as a bug to https://gitlab.gnome.org/GNOME/gimp/-/issues |