AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Paint.net plugins7/29/2023 Understanding Gamma Correction, Cambridge in Colour. GPU Gems 3 Chapter 24, The Importance of Being Linear.Gamma error in picture scaling, by Eric Brasseur.If you'd like to read more about gamma correction and rendering in linear gamma space, here are some resources: Notice how the pixelation effect is much more uniform in 5.0.4, eliminating the distortions you see in 5.0.3. The next two images are zoomed at 267%, in v5.0.3 and then in v5.0.4. Antialiasing was disabled and the brush size was set to 1. On the left is the original, a cloud bubble drawn into a 128x128 pixel space. It's hard to show these effects in your browser because things will likely get resized and distorted, but I'll try. And when zooming out, multisampling is used to make the image looking smoother. This required a bunch of changes to how the canvas renders itself, so while I was in that code I also bumped up the quality of its rendering. When zooming in to an image, a type of antialiasing is now applied so that the pixelation effect appears more uniform. With gamma correction in v5.0.4, it looks correct: Without gamma correction, it looks like this in v5.0.3: Previously, the reduced size image would get darker in ways that we've all just kind of gotten used to over the years (but which is wrong □). This ensures that luminance (aka brightness) is correctly maintained when you're zooming out on the image (and thumbnails are basically little zoom-outs of the image). Next up, all in-app thumbnails and the canvas itself are now using gamma correction. I'll be using the "128 / 187" image for the next two screenshots. Speaking of which, there is a good test image for this over at . The Move Selected Pixels tool has also been upgraded to support this for all resampling modes (although it's not applicable to Nearest Neighbor), and there is a new Gamma mode choice in the toolbar if you'd rather not use it for whatever reason: Sometimes this effect is subtle, but in some cases it can be quite pronounced.įirst up, in Image->Resize the resampling mode has been moved to the bottom into an Options section, along with a new "Use gamma correction" checkbox that defaults to enabled: Gamma correction is important for maintaining luminance (brightness, basically) when an image is being processed or rendered. In addition, GPU-based effect plugins now default to rendering in linear gamma space (existing plugins are not affected, however!) and have better access to color management information. This update includes another revamp of Image->Resize's resampling modes, gamma correction for key parts of the app, higher quality canvas rendering, and a host of other miscellaneous fixes and improvements.
0 Comments
Read More
Leave a Reply. |