7 ms·
JPG vs. RAW: Get it right the first time (2009)
- totoglazer 5y agoA decade later, so the situation is different. Nonetheless I disagree. The flexibility raw provides for fixing it later is amazing. “Rescuing” a poorly exposed image from RAW can be like pulling a rabbit from a hat. The JPG just explodes. One key difference: RAW files aren’t much bigger, but our SD cards have gone up a unit, from MB to GB. Our network connections and storage speeds are up 10x as well. A second key difference: much more stability in formats. Longer generations, DNG means you’re unlikely to encounter anything too weird anymore.
- NikolaNovak 5y agoYup; Ubiquitous SSD drives and (relatively) cheap RAM also help. Would I suggest most of my family shoot RAW - heck no; I don't want that headache :). But if you're a enthusiast, student, or professional; if you want to learn and eek out the best photos, go RAW. Capture all data you can. Afford yourself the most opportunities today, tomorrow and down the road. You don't want to take that one perfect casual shot of bride's smile or that brilliant sunset or that amazing moment with your kids, only to find out you were under exposed or your white balance was wonky and you blew your highlights or lost your shadows and everybody is a purple dinosaur.
- NikolaNovak 5y agoAhh, Ken Rockwell. I think any burgeoning camera enthusiast goes through the phase of taking Ken Rockwell seriously and reading him voraciously - I did and most of my friends, colleagues, and Facebook photo enthusiast acquaintances seem to:). He is fun, encouraging, and opinionated. He gets some basics right, and he's moved a million enthusiasts along the learning curve; he makes you feel you're in on the real deal and are learning deep dark simplification secrets from an established Pro. But eventually you outgrow him - the more technical or specific or factual an issue gets, the better, in general, you may be to read around. Re topic of the article - I indeed shot JPEG my first couple of years, right around the time this article was published, and argued incessantly with professionals based on Ken Rockwell math. Then I shot my first wedding in RAW+JPEG just to be safe, and have only shot professional engagements in RAW since. There absolutely positively is a time and place for JPEG as well as RAW. And I'll agree with his first piece of advice: If you have to ask shoot JPEG. But almost everything below that is either wrong or skewed or biased or incomplete. RAW has tremendous benefits, for prolific and occasional shooters alike, and now I firmly subscribe to Thom Hogan's philosophy of "optimal data capture", whether I do <50 shots on a carefully managed studio shoot, or 3000+shots (with second photographer etc) on a busy wedding weekend. (mind you, I'm happy to see Ken still going, and I hope he continues to encourage generations of photographers; it can be a somewhat thankless gig, as he does get teased and challenged around the web a lot and as I said, most people tend to "outgrow him"; but he provides a great push and interest at a right time in photographer's growth and career - when you start getting deeper, and forums and experts tell you how complicated everything is and how ignorant you are and how much you'll fail, he cheerfully encourages you to shoot everything you can with anything you have - and that's a great attitude to have :)
- deleted 5y ago[deleted]
- AstralStorm 5y agoPhotography could use a well described lossless compressed format that can handle various forms of sensor data. I suppose extensions of TIFF would work pretty well for the purpose, the tags describing say sensor layout and even maybe spectral sensitivities. Heck, Kodak and Nikon also put their proprietary compression schemes in it. Maybe something new and open would work.
- NikolaNovak 5y agoAre you thinking of something like modern .DNG? If not, let me know what the deltas are :)
- mikewarot 5y agoLong ago, I listened to his advice and bought a Nikon D40 (6 Megapixels) instead of a D40X (10 Megapixels). His argument was that the sensors were the same physical size, so the light gathering per pixel would be less, and thus images would have more noise in the D40X. I never owned a D40X, but I loved the heck out of that D40. I got a lot of great night time shots with it, and it worked very well indoors without flash. I used it so much, I actually wore out the shutter.
- hollander 5y agoYeah, the time that Bill Gates said that you only needed 6MP... ;-) I wonder if that advice was correct, but I have no way of proving my gut feeling that the D40X was the better choice in most situations.
- crazygringo 5y ago> and thus images would have more noise in the D40X I've never understood this argument. In insufficient light conditions, noise will be identical between the two, because resizing the 10MP image to 6MP will give the same result as the 6MP camera. (But you still get the choice of more-noise-but-more-resolution at 10MP.) But in sufficient light, noise is drowned out by signal, and so the 10MP camera truly produces a 67%-better-quality image.
- NazakiAid 5y agoNow days, professional photos should be RAW as SD cards can fit a hell of a lot of storage on, and RAW provides so much flexability to change things like the white balance etc so I always shoot in RAW with a DSLR then post process the images. It takes time but the images look better then they would have then before. RAW is not for everyone though.
- deleted 5y ago[deleted]
- anigbrowl 5y agoI've shot RAW for years, know the technical side of it inside and out, and it's objectively better...but: I got a great deal on a slightly older P&S camera I wanted to use (compact, good lens), although it only shoots jpg. I thought I would hate it but to my surprise I have wound up loving it. It looks all smeary when you zoom in, but has this really nice painterly look. And knowing that I can't rescue it in post and what I see in the EVF/screen is more or less what I am going to get, good or bad, has made photography weirdly exciting again. Of course this is also a function of the sensor and the various other parts of the camera's system, but not just jpg. But I find myself taking better photos because I have to make and commit to aesthetic decisions instead of treating every photo as just the starting point of an image manipulation project.
- vmception 5y agoYou’ve come full circle, if you like the lack of “undo” then try film and even darkroom development The rest of us are glad there are less barriers to our’s and other’s creative vision, and actively remind photographers that the gatekeeping is not the point But if you are in a different phase of what fulfills you, try those things
- anigbrowl 5y agoI started out and still do use film, and I'm not sure what you think my comment has to do with gatekeeping.
- calibas 5y agoIf you want to save space and only plan on doing minor editing, use JPG. If you're planning on doing more than minor editing, use RAW. The reason is simple, JPG is optimized for human sight, and too much post-processing makes previously invisible JPG artifacts very visible.
- mbf1 5y agoThe rapidly declining cost to store files and the performance of modern computers is to blame for this old opinion becoming irrelevant. That and adoption of drivers for raw formats and support from the hardware manufacturers so that all popular operating systems can use official decoders rather than ad-hoc decoders (read dcraw - David Coffin's open source decoder library in C from the early 2000's).
- mickael-kerjean 5y agoIn its current form RAW is just a messy bag of proprietary format each vendor do slightly differently. In a perfect world, vendors would have create a standard
- dylan604 5y agoCamera vendors might not have, but DNG kind of got us there. DNG has gone through iterations, but at least it is not owned by a single corp like CR2 or NEF for example.
- kag0 5y agoWhat I'm surprised by is that a decade later we don't have better off-camera raw to jpeg conversion tools (or at least I haven't used any great ones). It should be possible to feed a bunch of raw files to a program and get back a) the exact same jpeg that the camera would have produced and/or b) an even better jpeg than the camera would have produced, given the significantly greater hardware resources available. Expanding even more, given a relatively stable exposure bracketed burst shot, we should be able to get a very good hdr jpeg from two or three raw photos. note that I'm talking about doing all of this automatically. of course we can get a great jpeg from a raw with some quick work in lightroom, but that shouldn't be necessary for many images.
- SilverRed 5y agoThis assumes that turning a RAW in to a JPEG is a computationally significant task. Cameras already have fairly powerful CPUs to be able to record 4k video. If more power was needed it would make more sense to put a high power ARM chip in the camera than to build software to do it externally.
- vmception 5y agoin lightroom, note that you can apply preferences you made to one image to all images in the batch if you want, same for exporting. if you dont like the default color profile of the raw processor in the chosen app, you have to import a camera profile or manually adjust and apply in batch. I don't think there is any way around this as the default raw processor is the computational assumption of most correct. Maybe some machine learning and analytics can help a program guess for the user.
- ironman1478 5y agoI don't know if it's generalizable. Processing raw sensor data requires a knowledge about the dynamic range and knowledge about non linear characteristics of the sensor. Bitdepth isn't the only differentiating factor between raw sensor data. 0x100 doesn't mean the same for 2 different sensors. Also, there is an assumption in the article that the data is linear, but that's not true of all sensors. Some compand their data and there is hardware in the camera to relinearize the sensor output.
- DSingularity 5y agoWhat? I feel like editing RAW in Lightroom yields much nicer results than editing jpgs. Am I wrong?
- vmception 5y agoThis is a 12 year old article Nothing about this applies anymore Although Apple’s contribution to making RAW a seamless workflow only occurred one year ago, coinciding with the iOS 14 update I’m sure some Android devices natively shoot raw without an additional app for 5 years Apple also contributed to the working group to update the protocol and format The point being that its even more streamlined to shoot and edit and share Raw now even without bulky camera hardware
- Lio 5y agoProbably not wrong but… If I’m not shooting anything “important” i.e. no one is paying me to get the shot, i generally just use either JPG or JPEG + Raw but make changes in the camera. I love the film simulations that Fuji give you. It’s a case of set white balance, set the film preset and go. There’s something satisfying about the simplicity it. Learning post processing really well is as much work as learning to use a camera IMHO. I don’t have enough time to do that as well. Plus, I’m ashamed to admit, I think occasionally I’ve occasionally done a worse job in post than straight out of camera. I think I’d be too terrified to that for something important though but then I don’t shoot weddings anymore.
- z5h 5y agoAgreed. Fuji are film experts - experts in presenting a human-consumable photograph. So I’ve learned the film simulations and choose when I shoot. So yes, I “shoot RAW” and let the Fuji experts post-process this in-camera.
- platz 5y agoShooing RAW allows you actually fix White Balance, which is usually off by some amount. 8 bit jpeg does not have enough headroom to correct WB often. If just one of the color channels is fully saturated, the file cannot be color balanced.
- jbluepolarbear 5y agoMy a6000 allows raw + JPEG, usually the jpeg is good enough. But it’s nice to have the raws for saturated shots.
- platz 5y agoBetter question: Full Frame vs APS-C ? I've read things saying that after accounting for things like focal length and Crop factor that FF doesn't offer higher quality than APS-C. Is there any advantage to FF then?
- deusum 5y agoLow light. Also, when you measure the sensor size, you can imply that it's proportionate to your genitals.
- vmception 5y agoQuality? A sensor size doesnt affect quality, it affects what you can see and how many photons can be collected in a time period. So the only quality would be that full frame can assist in lower light scenarios without increasing the electrical gain (which causes noise) The point of full frame would be more flexibility at lower focal lengths, and the high correlation to being put inside of more fully featured and sturdier camera bodies with faster I/O. It doesn't have to be that way, it just is since the wafer cost is already higher and already segmenting customers by price, they just give a greater package to the remaining people that would pay more.
- ekianjo 5y agoLow light quality and depth of field are very different. And also this brings a lot more choice for vintage lenses when you go FF with a FF body.
- namibj 5y agoThere is a harsh limit to the incidence angle at the sensor, and this (steradian, as horizontal and vertical angle count) multiplied with the area is a limit for what focal length/aperture combinations you can reach on the object end of the lens. And yes, lenses increase in cost faster than the sensor area they illuminate, assuming they retain the same wide aperture/large incidence angles at the sensor end. Thankfully, as a photographer you don't have to think about those optical restrictions. It's enough to know that there is a hard limit at f/0.5 that can't be reached with normal lenses (microscope objectives get much closer, though). Practically, everything below f/1.0 is disproportionally expensive. A 50mm/f1.0 medium format lens would be far better than what APS-C could possibly do, just because you'd hit the f/0.5 wall before you'd reach APS-C. The downside of larger sensors is that they are more expensive to make (less fit on a wafer, and the chance of catching a bad pixel is higher), and the optics are inherently heavier and larger, as well as often (but not always, if you can get away with a simpler optical design due to needing a less-open aperture) more expensive. Thankfully, this only matters in two situations: using lenses that reach maximum resolution below f/2.0 with high-density sensors, or operating in darkness/with very short exposures. Both that very-high-resolution scenario, as well as the darkness scenario benefit from larger sensors. The former from better frame-relative resolving power when diffraction limited, the latter from offering wider crop-factor-corrected apertures and thus capturing more light.
- thayne 5y agoWhy are the options RAW and JPEG? Why isn't there an option to get images in a standardized format that is wide-gamut with lossless compression? Or even, more modern alternatives than JPEG?
- SilverRed 5y agoThere are modern alternatives. AVIF and HEIF. HEIF is used by Apple for photos on the iphone and AVIF is just starting to gain use. Problem is decades of legacy make JPEG hard to replace. Most would rather full support on everything over a small amount of space saving.
- AstralStorm 5y agoNeither provides option for raw sensor data, so you're bound to the phone's processing.
- wtallis 5y ago> Why isn't there an option to get images in a standardized format that is wide-gamut with lossless compression? Compression isn't the only mechanism by which you can lose information in the process of going from RAW to something standardized and hardware-neutral. So simply using lossless compression doesn't actually mean you're preserving everything. If you really want lossless compression, you probably also want to preserve information about how the raw image was transformed during demosaicing, denoising, white balancing, etc., all of which are somewhat subjective instead of being exact 1-1 transformations where there's a single right way to do it.
- thayne 5y agoSure. I still think there could be a standard format that includes that information. Note, I'm saying such a format should exist, not that it currently does. As I understand it, RAW is really a collection of a bunch of different proprietary formats where every camera company has their own variant, and even different cameras from the same company have slightly different formats.
- jbluepolarbear 5y agoIt always amazes me how cheap and small storage gets every 10 years or so. 2001 I bought a 32 MB usb drive for school, 2009 I bought a 16 GB usb drive (still have this one) and a 8GB sd card for my camera, 2019 I bought a 512gb micro as for my camera. I’ll run out of battery long before I’ll fill that 512 with stills, but it sure fills quick recording video.
- ekianjo 5y agothe curve is slowing down though. You won't be seeing any cheap 2TB microSD cards anytime soon.
- mceachen 5y agoSomething to be aware of about "RAW" images: most dSLR will encode a full-size JPEG _within the raw image_ (that you can pull out with `exiftool`) which frequently is what the resulting JPEG would be (which, on some cameras, includes image enhancements through "computational imagery")--so there really isn't a disadvantage to shooting raw (versus raw+jpg). (I found this only after shooting jpg+raw for years, and then digging into a bunch of different camera outputs to support them via PhotoStructure).
- ekianjo 5y ago> most dSLR will encode a full-size JPEG _within the raw image_ in what quality though? Because the advantage of using RAW+JPEG is that you can set 90%+ quality settings for JPEG in the camera.
- deathanatos 5y agoI think it's less. If I've got my files right locally, my Canon SL3, on RAW+JPEG, the JPEG is 7.4MiB and the JPEG embedded in the CR3 file (the "raw" file from Canons) is 2.3MiB. So, less. Between them, you can tell if you zoom in far enough (on the smaller one, there is clear artifacting) but it's they're both 24 MP photos so you have to get pretty close to the pixels to tell that. (I've only just gotten a decoder working on CR3 to the extent where I can extract those, though. One thing that hasn't changed since the OP is that camera manufacturers are still determined to making parsing their custom formats impossible by documenting absolutely nothing. Good hardware, terrible software.)
- mceachen 5y agoLibRaw is great, BTW.
- thg 5y ago> in what quality though? JPEG basic with Nikon. I'd assume it's the same for the other manufacturers, although that's guesswork. The newer cameras (Nikon Z for example) don't just include a single JPEG either, but multiple smaller versions for e.g. rear LCD display, which can also be of higher quality.
- BeetleB 5y agoIf all I care about is a quick JPEG with little to no edits - that's what my phone is for. I use my DSLR when I want fairly high quality, which means I'm willing to spend the time to edit in RAW.
- toxik 5y agoThe optical abilities of a real camera are just leagues better than those of a phone camera. I used to save raw files, but that’s just so much more work. Every photo is essentially only half done when it’s shot. With JPEG, the shot is what it is once it’s done. You can make some artistic changes in post still but you can also just send the damn pictures to your friends and family.
- jart 5y agoIs Ken Rockwell colorblind? Check out https://www.kenrockwell.com/nikon/d200/quality-settings.htm https://www.kenrockwell.com/nikon/d200/quality-settings.htm If we ignore the obvious issue of encoding a "RAW" photo as a 94% compressed JPEG for comparison, then I'm not sure why he thinks the two images look the same, since the compression he's using is changing the color, shape, etc. It's pretty obvious.
- account42 5y agoI would guess this is most likely because whatever process he used to convert the RAW to an actual RGB image does not 100% match the camera's settings - the RAW is after all raw sensor data and does not have any "color".
- jart 5y agoPossibly. The color difference could be explained by choosing an inconsistent illuminant. It's something most people don't notice, but I'm very illuminated.
- crazygringo 5y agoThis almost reads like satire or something. This is kinda unintentionally hilarious: > "Raw is designed for people who intend to spend a lot of time twiddling with one image at a time. For these applications I use large format 4x5" film instead for much better quality, thus you see why I don't use raw." Curious what the point of posting it to HN is though? It was terrible/dumb advice when it was written, and it's even less applicable today 13 years later. What am I missing here?