Page 1 of 1

Saving a resized 16bit png, comes out 8bit

Posted: Sun Sep 15, 2024 2:11 pm
by Koogle
Is this correct? doesn't seem to be any setting to making it keep the same color depth as the original? Albeit resized and then saved with compression but no setting for 16bit or 8bit it just defaults 8bit?

Re: Saving a resized 16bit png, comes out 8bit

Posted: Sun Sep 15, 2024 2:12 pm
by Koogle
Also wish the PNG compression level would actually state which number is lower or higher quality.. is 9 the highest compression? and 0 lowest compression? or other way around.. not clear and could be a bit more helpful with a tooltip or something

Re: Saving a resized 16bit png, comes out 8bit

Posted: Sun Sep 15, 2024 3:07 pm
by xnview
image datas is always converted to 8bits per component

Re: Saving a resized 16bit png, comes out 8bit

Posted: Sun Sep 15, 2024 9:38 pm
by Koogle
well if I take the png image into photoshop resize and then save a png again it will keep the 16bit color ... also just made a quick c# console app to do conversions of these png files using the SixLabors.ImageSharp lib and that will also resize and save out as the same 16bit format... seems just saving out from xnview will lose that 16bit color depth.. it's just the output has to be 16bit as 8bit loses the extra info.. as they are heightmap textures

Re: Saving a resized 16bit png, comes out 8bit

Posted: Mon Sep 16, 2024 5:48 am
by xnview
only Nconvert can keep 16bits/component