Why do my JPEG images come out slightly smaller than my raw images?

To get an RGB value for an individual R, G, or B photosite location, you have to look at neighboring photosites. At the extreme edges, there obviously are no neighbors to one side. Nikon uses extra pixels at the edges so that they can run the same demosaic algorithm throughout the JPEG image (i.e., look at all neighbors). Some raw converters, however, will attempt to use photosites right out to the edges, using adaptive demosaic routines to try to calculate a reasonable RGB value when there aren't any neighbor values on one or two of the sides.  

Looking for gear-specific information? Check out our other Web sites:
mirrorless: sansmirror.com | general: bythom.com| Z System: zsystemuser.com | film SLR: filmbodies.com

dslrbodies: all text and original images © 2024 Thom Hogan
portions Copyright 1999-2023 Thom Hogan
All Rights Reserved — the contents of this site, including but not limited to its text, illustrations, and concepts, 
may not be utilized, directly or indirectly, to inform, train, or improve any artificial intelligence program or system.