How to convert 16 bit PNG to 16 bit TIF?

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

User avatar
xnview
Author of XnView
Posts: 35490
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to convert 16 bit PNG to 16 bit TIF?

Post by xnview »

the new version of NConvert is available
Pierre.
arko
Posts: 4
Joined: Wed Apr 22, 2020 5:10 am

Re: How to convert 16 bit PNG to 16 bit TIF?

Post by arko »

Using nconvert v7.70 to re-compress 16b tiff file results in a stuck process. Calling as following:

Code: Select all

nconvert -org_depth -c 3 -overwrite myfile.tif
GraphicsMagic and its `identify` command:

Code: Select all

Image: myfile.tif
  Format: TIFF (Tagged Image File Format)
  Geometry: 3944x5952
  Class: DirectClass
  Type: true color
  Depth: 16 bits-per-pixel component
  Channel Depths:
    Red:      16 bits
    Green:    16 bits
    Blue:     16 bits
  Channel Statistics:
    Red:
      Minimum:                    12.00 (0.0002)
      Maximum:                 65535.00 (1.0000)
      Mean:                    19612.99 (0.2993)
      Standard Deviation:      14115.02 (0.2154)
    Green:
      Minimum:                     0.00 (0.0000)
      Maximum:                 65535.00 (1.0000)
      Mean:                    18759.78 (0.2863)
      Standard Deviation:      13451.57 (0.2053)
    Blue:
      Minimum:                   152.00 (0.0023)
      Maximum:                 65535.00 (1.0000)
      Mean:                    26027.29 (0.3972)
      Standard Deviation:      15732.85 (0.2401)
  Resolution: 4000x4000 pixels/inch
  Filesize: 160.7Mi
  Interlace: No
  Orientation: TopLeft
  Background Color: white
  Border Color: #DFDFDFDFDFDF
  Matte Color: #BDBDBDBDBDBD
  Page geometry: 3944x5952+0+0
  Compose: Over
  Dispose: Undefined
  Iterations: 0
  Compression: LZW
  Make: Nikon
  Model: LS-5000
  Label: Transparency
  Tainted: False
  User Time: 1.219u
  Elapsed Time: 0m:1.214891s
  Pixels Per Second: 18.4Mi
THupel
Posts: 2
Joined: Thu Jun 10, 2021 3:40 pm

Re: How to convert 16 bit PNG to 16 bit TIF?

Post by THupel »

xnview wrote: Tue Feb 09, 2021 8:08 am the new version of NConvert is available
Thank you very much for your efforts and quick response! It's working now. :) Any idea when there will be an update for the linux version?
THupel
Posts: 2
Joined: Thu Jun 10, 2021 3:40 pm

Re: How to convert 16 bit PNG to 16 bit TIF?

Post by THupel »

I've encountered a different problem when extracting stacked tiff files with nconvert version 7.80. When I run:

Code: Select all

nconvert.exe -org_depth -out tiff -xall ./DJI_0012.TIFF
The extraction process stops exactly after 3258 files even when there are a lot more images left. Tiff-stacks with less images work totally fine but as soon as there are more than 3258 stacked images, nconvert stops at exact the same position every time no matter how many images are left to extract.

Perhaps it's just misuse or wrong/missing parameters but from my perspective it could be a bug, as well. I'd appreciate it very much if someone could look into that. Thanks! :)
marsie321
Posts: 10
Joined: Tue Jan 26, 2021 1:11 pm

Re: How to convert 16 bit PNG to 16 bit TIF?

Post by marsie321 »

Thank you, the conversion is working. :D

But I can verify, that the conversion stops after 3258 pictures.
Post Reply