What is probably a stupid RAW/JPEG question

So you are saying Sony cRAW only contains 8-bit instead of 12-bit
data found in RAW.
Yes.
For further reference: http://www.dyxum.com/dforum/topic22802.html
Are you certain, and where might I read an explanation of this?
File sizes would indicate that that's how it is. It's also the reason for it.
I had always assumed the cRAW was just a lossless compression of the RAW data. Would you help me out here.
In most pictures, 12-bit is more than adequate, and 8-bit is sufficient in the end result. By eliminating the "unnecessary" levels, a lot of data can be cut from the files.
 
So you are saying Sony cRAW only contains 8-bit instead of 12-bit
data found in RAW.
Yes.
For further reference: http://www.dyxum.com/dforum/topic22802.html
Are you certain, and where might I read an explanation of this?
File sizes would indicate that that's how it is. It's also the reason
for it.
I had always assumed the cRAW was just a lossless compression of the RAW data. Would you help me out here.
In most pictures, 12-bit is more than adequate, and 8-bit is
sufficient in the end result. By eliminating the "unnecessary"
levels, a lot of data can be cut from the files.
I waded through the dyxum thread you suggested. Seems cRAW is technically lossy but, in effect, preserves virtually all the RAW information. Thanks for helping me learn the details. Since the difference is negligible, I can understand why Sony did not wish to reveal that it is lossy
Bert
 
implies that cRAW is compressed RAW. I assume lossless and 12-bit as
in RAW file.
Bert
There are two different things going on here. cRAW is a file
containing less data because it describes every pixel in less bit
depth. The top and bottom value for each pixel will be the same as
for 12 bit image files, but there will be less steps in between the
top and bottom value.
Chris:

Having read the whole dyxum thread posted by Klipsen, I'm not sure that the dyxum thread supports your statement but there will be less steps in between the top and bottom value (well maybe only 11.8 bits resolution - less than 12 but much more than 8 bits) but I think I am up to speed on cRAW. Thanks
Bert
 
That isn't always the case. By and large compression in RAW is non-destructive, but that isn't always the case and you can't assume that. CRAW from Sony IS destructive compression they make that very clear.

However, you are correct in that JPEG compression is different and I think more destructive because it can be easier to see than other forms of destructive compression.

Robert
--
The Governments Philosophy: If It Isn't Broke Fix It Until It Is.
 
That isn't always the case. By and large compression in RAW is
non-destructive, but that isn't always the case and you can't assume
that. CRAW from Sony IS destructive compression they make that very
clear.
No. From http://www.sony.co.uk/hub/learnandenjoy/block/7/subblock/1 I copy-pasted this:

Lossless compression is available on some models for cRAW files: this reduces the file size (by around 60-70%) without discarding any data, but processing times may be increased.

Lossy compression discards unnecessary data to create JPEG files: the amount of data discarded or lost depends on the quality setting. The more data lost, the smaller the file but there is some loss in quality visible to critical examination.

So Sony does not make it clear that compressed raw is lossy or destructive. Quite the contrary.

But of course it is in a number of cases, namely where the scene contains more levels than can be reproduced with 8 bits per channel. That's why they use 12 bits per channel in the first place, some even 14.

Also, the file size is not reduced by 60-70 %, but to those values (from around 18 MB to around 12 MB).
 
That isn't always the case. By and large compression in RAW is
non-destructive, but that isn't always the case and you can't assume
that. CRAW from Sony IS destructive compression they make that very
clear.
No. From http://www.sony.co.uk/hub/learnandenjoy/block/7/subblock/1 I
copy-pasted this:

Lossless compression is available on some models for cRAW files: this
reduces the file size (by around 60-70%) without discarding any data,
but processing times may be increased.
Lossy compression discards unnecessary data to create JPEG files: the
amount of data discarded or lost depends on the quality setting. The
more data lost, the smaller the file but there is some loss in
quality visible to critical examination.

So Sony does not make it clear that compressed raw is lossy or
destructive. Quite the contrary.

But of course it is in a number of cases, namely where the scene
contains more levels than can be reproduced with 8 bits per channel.
That's why they use 12 bits per channel in the first place, some even
14.
Actually it would have to be a change in levels that is more than 8 bits.. the compression in CRAW from all I have read has a 12 bit sample.. than encodes 8 bit deltas from the start value.. much less likely to have to toss or compromise date.. not impossible.. but unlikely.
Also, the file size is not reduced by 60-70 %, but to those values
(from around 18 MB to around 12 MB).
--
---------
Ken - A700 Owner..
Some of my work at:
http://gallery.cascadephotoworks.com
 
--Before RAW was invented we ALL used JPG. There were NO arguments then.
Oh yes there was. TIFF was far superior to JPG. Never ends does it.

I now use RAW. BUT If I was to use JPG, firstly, I'll try to get a far better image in camera. (works to my advantage). Then i would transfer to PC, then I will Highlight those I'm going to KEEP, then I would copy them as a TIFF file. (of which you should do) (never work on your original JPG) You can get that Tiff file (or even a photoshop file) as Good as if you had worked on a RAW file. BUT. If your original JPG is rubbish in first place, then it's not worth working on it. I know some out there who can produce terrible RAWs in camera that no one can produce a good file from.

Not many out there or in here who can tell if a GOOD image is from a JPG or a RAW if done correctly.

Not many here can tell if a finished image is in ProPhoto or aRGB or whatever if there be no EXIF. Most Printers that majority own and use can't print all the colours from a ProPhoto or an aRGB anyway. 95% of people only do 6x4 or 5x7 so it makes no difference anyway. Even that percentige could be wrong, as lots only view their images as an Image on their PCs or TVs or digital frame.

Anyway--Use the Format that U like, and as long as it looks Good, Be HAPPY.

MrScary (DennisR)
Swansea, Wales. UK

http://copernob.jalbum.net/
http://www.flickr.com/photos/scarecrowdr
http://community.webshots.com/user/mrscarecrow
http://www.russ4to.KMD5DImages.photoshare.co.nz
 
Actually, the A900 book that I read says that the Craw for the A900 is lossy, though one is unlikely to see it. Which in my experience except with the smallest amount of compression one can't say about jpeg.

The book in question is the one from Gary L. Friedman.

Robert

--
The Governments Philosophy: If It Isn't Broke Fix It Until It Is.
 
Actually, the A900 book that I read says that the Craw for the A900
is lossy, though one is unlikely to see it. Which in my experience
except with the smallest amount of compression one can't say about
jpeg.

The book in question is the one from Gary L. Friedman.
I thought that by "they" in "CRAW from Sony IS destructive compression they make that very clear" you meant Sony.

If you meant that "people" made it clear that compression is destructive, then you're right. I'm certainly not an expert in these matters, but I think it stands to reason that less bits can contain less information, but doesn't have to, if there's not very much information to begin with. An extreme example would be pure black and white, which only needs one bit. It's black or it's white, nothing in between.
 
So you are saying Sony cRAW only contains 8-bit instead of 12-bit
data found in RAW.
Yes.
For further reference: http://www.dyxum.com/dforum/topic22802.html
Are you certain, and where might I read an explanation of this?
File sizes would indicate that that's how it is. It's also the reason
for it.
I had always assumed the cRAW was just a lossless compression of the RAW data. Would you help me out here.
In most pictures, 12-bit is more than adequate, and 8-bit is
sufficient in the end result. By eliminating the "unnecessary"
levels, a lot of data can be cut from the files.
Here's a quote from that other thread:

-It seems that at each group of 16 bayer pixels, it stores the max value, and then

-the following 16 pixels will be stored using 8 bits with values that can go up to
-this max value.

So, cRAW does contain 12 bits of data, but if you had pixels close to each other that varied by more than 8 bits then that would be compressed/modified. All of the levels are still there, they just can't vary by more than 8 bits within a very tight space before data loss (from what I gather out of the above quote).

If you had an entire scene that required 12 bits, you still have that. This is very different from saying that cRAW is "only 8-bits". It's not "only" 8-bits!

--
Gary W.
 
Ken,

I'm trying to understand the final quality difference using an Alpha 700 in RAW then converted to a jpeg using Sony's IDC3 vs. Xfine jpeg. I understand that for ultimate control and under challenging lighting/exposure situations RAW wins without question. I also realize that some RAW converters work better than others. Your example in the dark dramatically proves those points. However, what is the difference (for a detailed scenic) betwen RAW converted to a jpeg using Sony's IDC3 vs. Xfine jpeg for an exposure that the jpeg "nails" easily? In other words, the Xfine jpeg exposure is 'perfect", the Xfine jpeg WB is "perfect" and so on. Does IDC3 produce a 12 bit jpeg vs the in-camera 8 bit version? Will the raw converted file contain more MB (detail) than the in-camera version?
Thank you,
f8f8f8
 
But Kodak, or any
other kiosk, won't take RAW files. So if I shoot RAW I would have to
convert them to JPEG anyway.
Well, the others have answered your Raw/Jpeg question, but the Kodak part of your question I find of interest.

I had occasion several years back to develop my best 300 vacation photos on a Kodak machine. Then my wife wanted more developed, so I picked the second best 250 photos, most of which had flaws of some description - poor composition, blown highlights, odd skin tones which I sort of fixed, problems with overcast drizzly weather etc (I'd used a lousy point and shoot that trip). But instead of developing them at a Kodak machine, I went to a Photography shop - the type that still did film as well as digital.

The cost was more than double that of the Kodak machine, but the result was astounding - this second best set of 250 photos looked so much better than the first best I'd previously had printed. I've never gone back to those machines since.

Also, the ones I'd had printed on the Kodak machine were magnified slightly and cropped - such that I only had about 95% of the Jpeg printed. And all the effort I'd spent carefully cropping the Jpegs to 3x2 format was somewhat wasted - bits of the tops of heads or side of arms which were in the Jpegs, weren't in the printed photos. This didn't happen with the Jpegs I took to the photography shop.

Perhaps they do a better job nowadays. But I suggest printing a few on a machine and a few at a specialist photography shop, and carefully comparing the results, before commiting all your prints to one or the other.
Renato
 
Ken,
I'm trying to understand the final quality difference using an Alpha
700 in RAW then converted to a jpeg using Sony's IDC3 vs. Xfine jpeg.
I understand that for ultimate control and under challenging
lighting/exposure situations RAW wins without question. I also
realize that some RAW converters work better than others. Your
example in the dark dramatically proves those points. However, what
is the difference (for a detailed scenic) betwen RAW converted to a
jpeg using Sony's IDC3 vs. Xfine jpeg for an exposure that the jpeg
"nails" easily? In other words, the Xfine jpeg exposure is 'perfect",
the Xfine jpeg WB is "perfect" and so on. Does IDC3 produce a 12 bit
jpeg vs the in-camera 8 bit version? Will the raw converted file
contain more MB (detail) than the in-camera version?
Thank you,
f8f8f8
Depends on your JPG setting in the camera.

If you have a JPG setting that is always perfect and you never PP.. go for it. The goal of the camera is to make you happy.

First of all IDC is not a great RAW converter. Word is it is related to the terrible ADOBE ACR 4.x. So you may indeed find that jpgs from it are closer to those out of the camera.

BTW FINE and XFINE are closer to each other than RAW in a good converter and camera jpg. So if you are particular enough to shoot Xfine for the occasional subtle detail it might save.. why not shot RAW.

The main problem with JPG is that you set it and forget it. Lets say you only shoot landscapes 2-4 hours after sunrise and 2-4 hours before sunset. Then that is fine.

Are you sure its going to nail all your sunsets? Will it nail all your shots with bright reflections? I ran into an interesting issue this week.

Most of my shots looked best with some sharpening added but there were a few of a fountain brightly back lit that any sharpening at all made look too harsh. With RAW I go back and turn down the sharpening. Whit the camera maybe even +2 as some run it, would have left me with harsh shots.

The more diverse your shooting. The more risks you take in lighting. The more likely you are to find you wish you had RAW.

If you do even minimal PP... you should be in RAW because JPG is lossey and to keep it from degrading every time an image is edited and saved in a standard editor, you need to convert it to something like TIFF or PSD.. why take the time to convert 8 bit color to a 16 bit space when you could have started with 12 or (14 bit on some systems) and only converted to jpg after you have the image just right.) Also JPG locks you into a color-space, and converting color spaces will cause issues as decisions were made about shifting and merging real colors to supported colors when the JPG was created.

JPG can turn out good images.. but it always begins to limit choice to tweak the WB to make it look more mid day or more near sunset. To adjust the sharpening down, to adjust he exposure and still have detail as you move out of the dynamic range window created with JPG. The meter of the camera for most of a 24 hour day will not give you what your eye saw.

Ultimately the answer is in this.
RAW is the light data the camera captured at the time of shooting.
JPG is a format designed to keep images small for moving over slower networks.

We use it because everything supports it, not because it is the best image storage format.

---------
Ken - A700 Owner..
Some of my work at:
http://gallery.cascadephotoworks.com
 
Ken,

Thank you. I have been mainly shooting Xfine JPG and occasionally RAW + fine JPG. Looks like i should get in the habit of shooting RAW + JPG. That takes up memory (cheap), gives me JPG for quick work, and gives me RAW for maximum quality. Is there a free raw converter that does a better job than the Sony IDC3?
f8f8f8
 

Keyboard shortcuts

Back
Top