DPX RGB 16bits/ch to PNG 16bits/ch
Posted: 2014-12-20T06:57:21-07:00
Hi!
I would like to convert a large number of 16bits per channel RGB DPX files that are used for a motion picture to PNG 16bits per channel.
Using identify, the DPX appear to have these specs :
DPX/DM_DANS_LES_EAUX_PROFONDES06476.dpx DPX 1920x1080 1920x1080+0+0 16-bit RGB 12.45MB 0.000u 0:00.000
When I convert them to PNG using the following command :
convert DM_DANS_LES_EAUX_PROFONDES06476.dpx PNG64:DM_DANS_LES_EAUX_PROFONDES06476.png
The resulting file have the following specs :
DM_DANS_LES_EAUX_PROFONDES06476.png PNG 1920x1080 1920x1080+0+0 16-bit sRGB 6.589MB 0.000u 0:00.000
Thus, there has been a colospace change from RGB to sRGB.
I am concerned that I lost some color precision in the process, though I'm not at all specialist in this.
Is this the case and if yes, how can I force convert to keep the RGB colorspace?
I tried the "-set colorspace RGB" and "-colorspace RGB" options but still ended with a sRGB file.
Maybe PNG is sRGB only?
As a side note, these PNG files will only be used to create video files at best in YUV422 colorspace, so keeping the full colorspace may be unecessary anyway.
I would like to convert a large number of 16bits per channel RGB DPX files that are used for a motion picture to PNG 16bits per channel.
Using identify, the DPX appear to have these specs :
DPX/DM_DANS_LES_EAUX_PROFONDES06476.dpx DPX 1920x1080 1920x1080+0+0 16-bit RGB 12.45MB 0.000u 0:00.000
When I convert them to PNG using the following command :
convert DM_DANS_LES_EAUX_PROFONDES06476.dpx PNG64:DM_DANS_LES_EAUX_PROFONDES06476.png
The resulting file have the following specs :
DM_DANS_LES_EAUX_PROFONDES06476.png PNG 1920x1080 1920x1080+0+0 16-bit sRGB 6.589MB 0.000u 0:00.000
Thus, there has been a colospace change from RGB to sRGB.
I am concerned that I lost some color precision in the process, though I'm not at all specialist in this.
Is this the case and if yes, how can I force convert to keep the RGB colorspace?
I tried the "-set colorspace RGB" and "-colorspace RGB" options but still ended with a sRGB file.
Maybe PNG is sRGB only?
As a side note, these PNG files will only be used to create video files at best in YUV422 colorspace, so keeping the full colorspace may be unecessary anyway.