PEF or DNG ?
Posted 25/03/2011 - 09:58
Link
It's worth looking at compressing PEF and DEF files. I've just tried a 23MB DNG off a GX-20 and it compressed to:
RAR 14.9MB
ZIP 17.6MB
RAR 14.9MB
ZIP 17.6MB
Half Man... Half Pentax ... Half Cucumber
Pentax K-1 + K-5 and some other stuff
Algi
Pentax K-1 + K-5 and some other stuff
Algi
Posted 25/03/2011 - 10:49
Link
RAR has a batch like facility to "Put each file in a separate archive" where it uses the filename and adds RAR to the end of each compressed file.
So gb_0236.dng gets compressed into gb_0236.rar
gb_0236.dng can then be deleted and space on the HDD saved.
RAR can also uncompress RAR and ZIP files to a Directory with the
same name as the file so gb_0236.RAR would uncompress into a Directory called gb_0236 if so required, keeping all the later edited files
together in one Directory.
So gb_0236.dng gets compressed into gb_0236.rar
gb_0236.dng can then be deleted and space on the HDD saved.
RAR can also uncompress RAR and ZIP files to a Directory with the
same name as the file so gb_0236.RAR would uncompress into a Directory called gb_0236 if so required, keeping all the later edited files
together in one Directory.
Half Man... Half Pentax ... Half Cucumber
Pentax K-1 + K-5 and some other stuff
Algi
Pentax K-1 + K-5 and some other stuff
Algi
Posted 25/03/2011 - 12:53
Link
I'm surprised that anyone uses PEF now to be honest, DNG is less processing and more future proof - as unlocker mentions storage costs are now pretty insignificant so why not make life easy
Simon
Simon
My website http://www.landscapephotographyuk.com
My Facebook page http://www.facebook.com/landscapephotographyuk
Find me on Google+ link
My Facebook page http://www.facebook.com/landscapephotographyuk
Find me on Google+ link
Posted 25/03/2011 - 12:54
Link
Unlocker wrote:
Personally I would trust Pentax more than Adobe,
? or ? or even ?Personally I would trust Pentax more than Adobe,
Glad that is only your preference. As for trusting Pentax over Adobe, could you expand that a little or should I wait for Pentaxoshop 1 or Pentacrobat 1?
Best regards
Too far from a shore.
Posted 25/03/2011 - 14:02
Link
K10D wrote:
Glad that is only your preference. As for trusting Pentax over Adobe, could you expand that a little or should I wait for Pentaxoshop 1 or Pentacrobat 1?
Best regards
Pentax should know their file format better than Adobe. If they need, or want to change things to support anything new they might do, they can just do it and not wait for Adobe to change things several months later.Unlocker wrote:
Personally I would trust Pentax more than Adobe,
? or ? or even ?Personally I would trust Pentax more than Adobe,
Glad that is only your preference. As for trusting Pentax over Adobe, could you expand that a little or should I wait for Pentaxoshop 1 or Pentacrobat 1?
Best regards
It's just a preference based on belief on one part and lack of belief on the other.
Posted 25/03/2011 - 14:30
Link
simonkit wrote:
I'm surprised that anyone uses PEF now to be honest, DNG is less processing and more future proof - as unlocker mentions storage costs are now pretty insignificant so why not make life easy
Simon
Less processing?I'm surprised that anyone uses PEF now to be honest, DNG is less processing and more future proof - as unlocker mentions storage costs are now pretty insignificant so why not make life easy
Simon
In what way?
G
Keywords: Charming, polite, and generally agreeable.
Posted 25/03/2011 - 15:10
Link
George Lazarette wrote:
In what way?
G
Fair enough, I know normally there's no difference but the post by Smeggy etc about converting PEFs to DNG caught my eye - seems effort for no gain
simonkit wrote:
I'm surprised that anyone uses PEF now to be honest, DNG is less processing and more future proof - as unlocker mentions storage costs are now pretty insignificant so why not make life easy
Simon
Less processing?I'm surprised that anyone uses PEF now to be honest, DNG is less processing and more future proof - as unlocker mentions storage costs are now pretty insignificant so why not make life easy
Simon
In what way?
G
My website http://www.landscapephotographyuk.com
My Facebook page http://www.facebook.com/landscapephotographyuk
Find me on Google+ link
My Facebook page http://www.facebook.com/landscapephotographyuk
Find me on Google+ link
Posted 25/03/2011 - 15:58
Link
Smeggypants wrote:
I dint understand why DNGs are so large.
Poking around inside a theoretically identical PEF and DNG off the K20D reveals that the DNG contains both a full size JPEG (4672x3104) and aI dint understand why DNGs are so large.
thumbnail JPEG (640x480) embedded in there in addition to the raw data. The thumbnail has black bars on it to adjust to the 2:3 aspect ratio. Meanwhile the PEF file has raw image data, a 640x480 JPEG and a 160x120 JPEG thumbnail. I'm guessing that your DNG->DNG conversion shrinks the files by losing the full-size JPEG image?
Cheers,
Paul
Posted 25/03/2011 - 17:49
Link
But does that JPEG exist before you view the file on the PC? If you have the Pentax Codec then it might add data to the file to enable it to have a thumbnail.
Just a theory...
Just a theory...
Posted 25/03/2011 - 19:11
Link
Unlocker wrote:
Pentax should know their file format better than Adobe. If they need, or want to change things to support anything new they might do, they can just do it and not wait for Adobe to change things several months later.
Do you mean that Adobe will actually change their files because Pentax want something?Pentax should know their file format better than Adobe. If they need, or want to change things to support anything new they might do, they can just do it and not wait for Adobe to change things several months later.
If read the rules of use off DNG there is a lot that Pentax can add to the file as long as the key things are in it that are needed to create the photo.
DNG is actually more a container then a file, the image information itself is based on the TIFF/EP standard, you can make DNG fully TIFF/EP compatible but you also have the options to embed the PEF file also in the DNG file for example.
ps. aren't most RAW files not based on TIFF so what is the real difference in quality?
greynolds999 wrote:
But does that JPEG exist before you view the file on the PC? If you have the Pentax Codec then it might add data to the file to enable it to have a thumbnail.
Just a theory...
If you look at the RAW photos on your camera you're actually looking at the JPG thumbnail.But does that JPEG exist before you view the file on the PC? If you have the Pentax Codec then it might add data to the file to enable it to have a thumbnail.
Just a theory...
I don't think a program on the PC adds data to your RAW file because it creates the photo from the raw data and not from the JPG file and if you save the edits you most of the time end up with a sidecar with DNG the side car is embedded so it might become slightly larger (few KB).
ps. if you change the image settings like contrast, saturation sharpness while you shoot in RAW those are actually applied to the JPG thumbnail. Not sure if you can change the size...
Posted 25/03/2011 - 21:35
Link
SkyRider wrote:
thumbnail JPEG (640x480) embedded in there in addition to the raw data. The thumbnail has black bars on it to adjust to the 2:3 aspect ratio. Meanwhile the PEF file has raw image data, a 640x480 JPEG and a 160x120 JPEG thumbnail. I'm guessing that your DNG->DNG conversion shrinks the files by losing the full-size JPEG image?
Cheers,
Paul
All makes sense.
Smeggypants wrote:
I dint understand why DNGs are so large.
Poking around inside a theoretically identical PEF and DNG off the K20D reveals that the DNG contains both a full size JPEG (4672x3104) and aI dint understand why DNGs are so large.
thumbnail JPEG (640x480) embedded in there in addition to the raw data. The thumbnail has black bars on it to adjust to the 2:3 aspect ratio. Meanwhile the PEF file has raw image data, a 640x480 JPEG and a 160x120 JPEG thumbnail. I'm guessing that your DNG->DNG conversion shrinks the files by losing the full-size JPEG image?
Cheers,
Paul
[i]Bodies: 1x K-5IIs, 2x K-5, Sony TX-5, Nokia 808
Lenses: Pentax DA 10-17mm ED(IF) Fish Eye, Pentax DA 14mm f/2.8, Sigma 17-70mm f/2.8, Pentax-A 28mm f/2.8, Sigma 30mm F1.4 EX DC, Pentax-A 50mm f/1.2, Pentax-A 50mm f/1.4, Pentax-FA 50mm f/1.4, Pentax-A 50mm f/1.7, Pentax DA* 50-135mm f/2.8, Sigma 135-400mm APO DG, and more ..
Flash: AF-540FGZ, Vivitar 283
Lenses: Pentax DA 10-17mm ED(IF) Fish Eye, Pentax DA 14mm f/2.8, Sigma 17-70mm f/2.8, Pentax-A 28mm f/2.8, Sigma 30mm F1.4 EX DC, Pentax-A 50mm f/1.2, Pentax-A 50mm f/1.4, Pentax-FA 50mm f/1.4, Pentax-A 50mm f/1.7, Pentax DA* 50-135mm f/2.8, Sigma 135-400mm APO DG, and more ..
Flash: AF-540FGZ, Vivitar 283
Posted 26/03/2011 - 01:37
Link
simonkit wrote:
Well, I would agree that there is little point in shooting PEF then converting to DNG, but does anybody do that?George Lazarette wrote:
In what way?
G
Fair enough, I know normally there's no difference but the post by Smeggy etc about converting PEFs to DNG caught my eye - seems effort for no gainsimonkit wrote:
I'm surprised that anyone uses PEF now to be honest, DNG is less processing and more future proof - as unlocker mentions storage costs are now pretty insignificant so why not make life easy
Simon
Less processing?I'm surprised that anyone uses PEF now to be honest, DNG is less processing and more future proof - as unlocker mentions storage costs are now pretty insignificant so why not make life easy
Simon
In what way?
G
For processing a RAW file, I would expect there to be little difference between PEF and DNG.
G
Keywords: Charming, polite, and generally agreeable.
Posted 26/03/2011 - 02:14
Link
I've found no difference between PEF and DNG files IQ wise, even with the most microscopic pixel peeping
[i]Bodies: 1x K-5IIs, 2x K-5, Sony TX-5, Nokia 808
Lenses: Pentax DA 10-17mm ED(IF) Fish Eye, Pentax DA 14mm f/2.8, Sigma 17-70mm f/2.8, Pentax-A 28mm f/2.8, Sigma 30mm F1.4 EX DC, Pentax-A 50mm f/1.2, Pentax-A 50mm f/1.4, Pentax-FA 50mm f/1.4, Pentax-A 50mm f/1.7, Pentax DA* 50-135mm f/2.8, Sigma 135-400mm APO DG, and more ..
Flash: AF-540FGZ, Vivitar 283
Lenses: Pentax DA 10-17mm ED(IF) Fish Eye, Pentax DA 14mm f/2.8, Sigma 17-70mm f/2.8, Pentax-A 28mm f/2.8, Sigma 30mm F1.4 EX DC, Pentax-A 50mm f/1.2, Pentax-A 50mm f/1.4, Pentax-FA 50mm f/1.4, Pentax-A 50mm f/1.7, Pentax DA* 50-135mm f/2.8, Sigma 135-400mm APO DG, and more ..
Flash: AF-540FGZ, Vivitar 283
Add Comment
To leave a comment - Log in to Pentax User or create a new account.



7671 posts
16 years
Smegland
DNG = 31.466Mb
PEF = 29.800Mb
After DNG conversion ....
DNG -> DNG = 20.399Mb
PEF -> DNG = 20.484Mb
Hmmmm. so not as much difference with high ISO stuff
Lenses: Pentax DA 10-17mm ED(IF) Fish Eye, Pentax DA 14mm f/2.8, Sigma 17-70mm f/2.8, Pentax-A 28mm f/2.8, Sigma 30mm F1.4 EX DC, Pentax-A 50mm f/1.2, Pentax-A 50mm f/1.4, Pentax-FA 50mm f/1.4, Pentax-A 50mm f/1.7, Pentax DA* 50-135mm f/2.8, Sigma 135-400mm APO DG, and more ..
Flash: AF-540FGZ, Vivitar 283