Forum

Author Topic: I want to export baked normal map texture as 16 bit PNG.  (Read 7768 times)

amalbubble

  • Newbie
  • *
  • Posts: 1
    • View Profile
I want to export baked normal map texture as 16 bit PNG.
« on: May 02, 2023, 12:07:55 PM »
Hi, I want export the baked normal map texture from a highpoly mesh to a lowpoly mesh as 16 bit PNG. But metashape exports the normal map that has been baked only as 8 bit. All other formats also export it as a 8 bit image. I tried the EXR format too. But the 32bit full color EXR image is very heavy to process for my machine and other softwares to be able to convert to 16bit PNG. It seems to me that baking inside of metashape is happening as 8bit so I am unable to export it as a 16bit image. Please help, as my client needs the normal map as 16bit only.

Thanks,
Amal

e.spiridonova

  • Agisoft Technical Support
  • Newbie
  • *****
  • Posts: 38
    • View Profile
Re: I want to export baked normal map texture as 16 bit PNG.
« Reply #1 on: June 06, 2024, 11:27:25 AM »
Dear Amal,

Please try to use the following commands:
import Metashape
chunk = Metashape.app.document.chunk
image = chunk.model.textures[1].image()
image = image.convert("RGBA","U16")
image.save('//..../u16_dm2.png')
Best regards,
Elizaveta Spiridonova,
Agisoft LLC

morph

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: I want to export baked normal map texture as 16 bit PNG.
« Reply #2 on: November 12, 2025, 11:41:49 PM »
i have same problem, all textures exports as 8 bit so my displacment looks like crap.. can anyone help? howto use that command?

morph

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: I want to export baked normal map texture as 16 bit PNG.
« Reply #3 on: November 14, 2025, 07:44:04 PM »
any help?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15650
    • View Profile
Re: I want to export baked normal map texture as 16 bit PNG.
« Reply #4 on: November 17, 2025, 01:40:36 PM »
Hello morph,

I have checked that displacement maps exported via Tools Menu -> Model -> View Texture Mapping command in PNG format are single band 16bit images. Can you check it on your side?
Best regards,
Alexey Pasumansky,
Agisoft LLC

morph

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: I want to export baked normal map texture as 16 bit PNG.
« Reply #5 on: December 03, 2025, 06:10:49 PM »
THX. it works!. one last thing... isint there any way to export dispplacment map as its beeing seen on model after generating - simply adjusting lvls in let say photoshop doesnt give right results because im doing it "more less" which gives difrent results when rendering... in external software