my advise is to use imagemagick for the job.
it supports 48bit rgb, or 16bit (greyscale) images, including creating 48bit png , and be setup to use ffmpeg for video conversions
..pretty sure you’ll have success using a combination of the two
good luck