0.92: Downscaling with gamma correction posterizes dark areas
Moderators: helmut, xnview, Dreamer
0.92: Downscaling with gamma correction posterizes dark areas
XnView: MP 0.92 - 64 bit
OS: Linux
Downscaling an image with gamma correction posterizes dark areas. See the attached image (50% size of the original).
To reproduce, downscale an image with "Use gamma correction" enabled.
			
			
									
						
										
						OS: Linux
Downscaling an image with gamma correction posterizes dark areas. See the attached image (50% size of the original).
To reproduce, downscale an image with "Use gamma correction" enabled.
Re: 0.92: Downscaling with gamma correction posterizes dark areas
The original have posterized area
			
			
									
						
							Pierre.
			
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
The posterized image you see in my post is the downscaled version of the original. I don't see any artifacts on the original image:

			
			
									
						
										
						
Re: 0.92: Downscaling with gamma correction posterizes dark areas
Still reproducible in XnView: MP 1.3 (and also in XnResize, btw).
			
			
									
						
										
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
i can't reproduce with your sample image, which output size do you use? could you post the output?
			
			
									
						
							Pierre.
			
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
Try downscale to e.g. 1806x961 pixels. You can see the output image in the first post: download/file.php?id=5149&mode=view
			
			
									
						
										
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
where do you see "posterized area"?
			
			
									
						
							Pierre.
			
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
On the Saturn rings. I attached an image with side-by-side comparison.
			
							
			
									
						
										
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
yes a known issue on dark color
			
			
									
						
							Pierre.
			
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
Internal bit depth needs to be higher, then this won't happen. Currently, it seems to be 8 bits per channel, which is a joke, awful banding everywhere in dark gradients. Linear light needs to be processed at 16 bits per channel (sufficient for this) or higher internally.
			
			
									
						
										
						Re: 0.92: Downscaling with gamma correction posterizes dark areas
Just ran into this issue and was wondering what on earth was going wrong until I tried turning gamma correction off.
Top image is original, bottom is resized to 1919x1079, nearest neighbor with gamma correction enabled:
			
			
									
						
										
						Top image is original, bottom is resized to 1919x1079, nearest neighbor with gamma correction enabled:

