Open Photography Forums  
HOME FORUMS NEWS FAQ SEARCH

Go Back   Open Photography Forums > Digital Darkroom > Image Processing and Workflow

Image Processing and Workflow RAW, DNG , TIFF and JPG. From Capture to Ready for Publish/Display. All software and techniques used within an image workflow, (except extensive retouching and repair or DAM).

Reply
 
Thread Tools Display Modes
  #1  
Old February 28th, 2010, 12:32 PM
Doug Kerr Doug Kerr is offline
Senior Member
 
Join Date: May 2006
Location: Alamogordo, New Mexico, USA
Posts: 8,558
Default Dithered gradients and file size

My usual image editor and "painting" program, Picture Publisher 10, offers a flexible facility for creating gradients of various types to use, for example, as backgrounds.

It includes the option to dither the gradient. The object is to obscure banding that might be observed in the gradient.

But in most cases, this feature is counter-productive. Even assuming an 8-bit sRGB working space, the luminance increments are so small that is it difficult to perceive the banding, regardless of the band spacing. And the dither is not really any more handsome (although, of course, its effects are not usually visible either).

In PP10, even though the gradient may occur only, for example, in the horizontal direction, the dither is randomly applied in both axes; it is not really way a to "fake" a smooth luminance change along the gradient axis with chromaticity tampering, but rather to obscure the banding with "noise". Maybe other applications are more suave.

But a gigantic impact of the inclusion of a dithered area (background, perhaps) in a composed image is on the file size. The randomness of the pixel colors greatly frustrates the various compression schemes, leading to some astounding file sizes.

To give some idea of this, I ran some tests with an 1800 x 1800 px image consisting only of a gray gradient running from 0,0,0 at one edge to 255,255,255 at the other edge. The work space was 8-bit sRGB. The gradient was applied both dithered and non-dithered.

The table below shows the resulting image saved in different file formats.



Note that the "ppf" filetype is PP10's proprietary native format, which preserves objects and so forth for future editing.

The message is of course not to apply dithering to gradient backgrounds by accident (perhaps via the factory defaults).

In sure that the story may be much different with Photoshop or BelarusPicFix.
Reply With Quote
  #2  
Old March 1st, 2010, 04:31 AM
StuartRae StuartRae is offline
Senior Member
 
Join Date: Jul 2006
Location: Wiltshire, UK
Posts: 1,025
Default

Thanks Doug.
In fact the file sizes are about what I would expect

Regards,

Stuart
__________________
-----------------------------------
C&C and edits always welcome
Reply With Quote
  #3  
Old March 1st, 2010, 05:13 AM
Bart_van_der_Wolf Bart_van_der_Wolf is offline
pro member
 
Join Date: Jun 2006
Location: Netherlands
Posts: 4,054
Default

Quote:
Originally Posted by Doug_Kerr View Post
In sure that the story may be much different with Photoshop or BelarusPicFix.
Don't know about BelarusPicFix ;-), but Photoshop also offers the option to dither gradients, but it can be switched off.

Cheers,
Bart
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:14 AM.


Posting images or text grants license to OPF, yet of such remain with its creator. Still, all assembled discussion 2006-2017 Asher Kelman (all rights reserved) Posts with new theme or unusual image might be moved/copied to a new thread!