Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy
Photoshop

Photoshop: Fix the Gradient Tool’s Dither Option Creating Visible Banding in Exported PNGs Despite Looking Smooth on Canvas

- 30.10.26 - ErcanOPAK

🖌️ Fix the Gradient Tool’s Dither Option Creating Visible Banding in Exported PNGs Despite Looking Smooth on Canvas

The Gradient tool’s Dither option scatters a fine random noise pattern into the gradient so your eye blends adjacent bands together on screen, but that dithering is computed against the document’s current working bit depth at the moment you draw the gradient. Exporting to an 8-bit PNG re-quantizes every pixel afterward, and if the gradient was drawn on an 8-bit canvas to begin with, the dither pattern has nowhere near enough tonal headroom to hide the steps once a color profile conversion or PNG palette optimization happens during export – so a gradient that looked perfectly smooth in the Photoshop window comes out visibly banded in the delivered file.

🔎 The Problem

Document: 8-bit/channel, sRGB
Gradient tool: Dither checked, long smooth sky gradient drawn

On canvas (zoomed to 100%): looks smooth, no visible steps

File > Export As > PNG-24:
  Visible horizontal banding reappears in the blue sky area

Image > Mode: still shows "8 Bits/Channel" - dithering had
only 256 levels per channel to work with the whole time, the
on-canvas smoothness was display-level anti-aliasing, not
extra tonal data the export could preserve.

✅ Fix: Give the Gradient Real Bit Depth Before You Dither It

  • Switch the document to 16-bit/channel (Image > Mode > 16 Bits/Channel) before drawing the gradient, then convert back to 8-bit only at the very end, right before export – dithering has far more tonal levels to distribute noise across, so the bands genuinely don’t exist rather than being disguised.
  • If the file must stay 8-bit throughout, add a thin Noise layer (Filter > Noise > Add Noise, Gaussian, a very small amount) above the gradient and flatten before export – this bakes dither-like noise directly into the pixel data instead of relying on the tool’s preview-time dithering.
  • Check the export dialog’s own color profile handling – a ‘Convert to sRGB’ step during Export As can itself reintroduce banding in a gradient that was fine right up to that conversion, so compare a version exported with and without the conversion when banding appears.

🚨 Why This Is Dangerous

  • This kind of banding is often invisible on your monitor but obvious on a client’s cheaper display or in print, so a gradient approved by eye on your own screen is not a reliable sign-off – check the actual exported file, not just the canvas, before calling a gradient finished.

Dither hides banding at preview time – it doesn’t add the tonal data back once the export quantizes the image down again.

— Creative Pro

Related posts:

Photoshop: Smart Objects for Non-Destructive Design

Photoshop: Smart Objects for Non-Destructive Design

Photoshop: Fix a Clipping Mask Hiding Content on Export Even Though It Looks Fine on Canvas Because ...

Photoshop: Fix a Clipping Mask Hiding Content on Export Even Though It Looks Fine on Canvas Because ...

Photoshop: Fix Type Layers Rendering With the Wrong Font on Another Machine Because the Font Was Nev...

Photoshop: Fix Type Layers Rendering With the Wrong Font on Another Machine Because the Font Was Nev...

Views: 12

Post navigation

Windows 11: Fix the Settings App’s Storage Sense Report Undercounting Temporary Files Because It Only Scans Locations It Has Already Indexed
SQL Server: Fix a Query Hint Being Silently Ignored Because an Existing Plan Guide Was Already Forcing a Different Plan for That Exact Query Text

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

November 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,055)
  • Get the User Name and Domain Name from an Email Address in SQL (981)
  • How to add default value for Entity Framework migrations for DateTime and Bool (977)
  • Get the First and Last Word from a String or Sentence in SQL (858)
  • How to select distinct rows in a datatable in C# (854)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (653)
  • Add Constraint to SQL Table to ensure email contains @ (609)
  • Average of all values in a column that are not zero in SQL (570)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (547)
  • Find numbers with more than two decimal places in SQL (475)

Recent Posts

  • C#: Fix a ConditionalWeakTable Entry Vanishing Too Soon
  • Docker: Fix a Stale COPY Layer After Editing .dockerignore
  • Photoshop: Fix a Pattern Overlay Scaling Wrong on a High-DPI File
  • SQL Server: Fix a Computed Column Index Skipped by Implicit Cast
  • HTML5: Fix a required Input Inside a Hidden Tab Blocking Submit
  • SQL Server: Fix ROW_NUMBER Ties Reordering Between Identical Runs
  • C#: Fix an Enum HasFlag Returning True for the Zero Value
  • WordPress: Fix Featured Images Vanishing After a CDN Migration
  • Photoshop: Fix Content-Aware Fill Smearing a Repeating Pattern
  • Asp.Net Core: Fix Antiforgery Tokens Rejected Behind a Reverse Proxy

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,055)
  • Get the User Name and Domain Name from an Email Address in SQL (981)
  • How to add default value for Entity Framework migrations for DateTime and Bool (977)
  • Get the First and Last Word from a String or Sentence in SQL (858)
  • How to select distinct rows in a datatable in C# (854)

Recent Posts

  • C#: Fix a ConditionalWeakTable Entry Vanishing Too Soon
  • Docker: Fix a Stale COPY Layer After Editing .dockerignore
  • Photoshop: Fix a Pattern Overlay Scaling Wrong on a High-DPI File
  • SQL Server: Fix a Computed Column Index Skipped by Implicit Cast
  • HTML5: Fix a required Input Inside a Hidden Tab Blocking Submit

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com