fredmiranda.com
Login

Moderated by: Fred Miranda
  New fredmiranda.com Mobile Site
  New Feature: SMS Notification alert
  New Feature: Buy & Sell Watchlist
  

FM Forums | Post-processing & Printing | Join Upload & Sell

       2       end
  

Archive 2008 · TIFF vs JPEG question

  
 
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #1 · TIFF vs JPEG question


I've done some testing recently. When I edit or save a jpeg image (originally shot in RAW and converted to jpeg) I can see degredation of the image, as expected. However, I also tried this on some TIFF images and they also lost detail, not as much as the jpegs, but they still lost detail. I though TIFF was a "lossless" format. Why is this happening?

Honestly, I'm normally not a pixel-peeper like this, but it bothers me when I'm loosing detail in a supposedly lossless format. Am I missing something here?


Here's an unedited 100% crop (actually, these are more than 100%)
http://brownphotography.smugmug.com/photos/252468562_6KBzz-L.jpg

Now here is file that was edited in TIFF format (look at the loss of details in the shingles)....
http://brownphotography.smugmug.com/photos/252468560_GV58q-L.jpg

Now here is a file that was edited in jpeg format - you can really see the loss of detail in the shingles here, as expected.)....
http://brownphotography.smugmug.com/photos/252470039_4AeAp-L.jpg


Edited on Feb 09, 2008 at 01:25 PM



Feb 09, 2008 at 01:17 PM
tracknut
Offline
• • •
Upload & Sell: Off
p.1 #2 · TIFF vs JPEG question


Interesting situation - I doubt you're discovering that TIFF is losing information though. The second image, which you describe as "edited in TIF" is actually a jpeg file (which of course can introduce some loss). Not only that, it's been compressed pretty highly. So I'd expect it to show some loss.

IOW, I think your experiment, at least as you're presenting it here, is flawed.

Dave



Feb 09, 2008 at 01:37 PM
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #3 · TIFF vs JPEG question


tracknut wrote:
Interesting situation - I doubt you're discovering that TIFF is losing information though. The second image, which you describe as "edited in TIF" is actually a jpeg file (which of course can introduce some loss). Not only that, it's been compressed pretty highly. So I'd expect it to show some loss.

IOW, I think your experiment, at least as you're presenting it here, is flawed.

Dave


Thanks for your input, but they are all jpegs, even the first one.

Image #1: Converted from RAW to jpeg then cropped.
Image #2: Converted from RAW to TIFF, edited, then edits undone, then saved several times, then converted to jpeg and cropped.
Image #3: Converted from RAW to jpeg, edited, then edits undone, saved several times, then cropped.



Feb 09, 2008 at 01:49 PM
tracknut
Offline
• • •
Upload & Sell: Off
p.1 #4 · TIFF vs JPEG question


I guess what I'm saying is that all the images you're showing us are compressed jpegs. By definition they will show loss. So we're not seeing what you're seeing, if your claim is the TIFF images are losing quality. You'd need to post two images:

1) RAW->TIFF (1st generation save)
2) RAW->TIFF (after several generations of saves)

Neither of which you converted to jpeg anywhere, to show us what you're seeing.

By the way, you say "edited, then edits undone" in those two images. If it's not clear, when the image is "in photoshop" it is in a lossless binary store, so if those edit/undo exercises to not include saving and re-loading the image from a file, I don't think they're adding anything to this experiment.

Dave



Feb 09, 2008 at 01:58 PM
jerryrock
Offline
• • •
Upload & Sell: Off
p.1 #5 · TIFF vs JPEG question


Check your TIFF settings, you can also save as compressed TIFF although the default compression setting is "none".


Feb 09, 2008 at 02:37 PM
tomrock
Offline
• • • •
Upload & Sell: Off
p.1 #6 · TIFF vs JPEG question


It's math -- for every pixel in a tiff, there is R, G and B data stored. End of story.

If you're seeing some degradation, it's because of something you're doing to the file before saving it. Are you using any form of noise reduction?

There has to be some logical explanation. Tiff is lossless.



Feb 09, 2008 at 04:37 PM
Peano
Offline
• • •
Upload & Sell: Off
p.1 #7 · TIFF vs JPEG question


Both of the posted images are jpegs.


Feb 09, 2008 at 07:14 PM
jonk
Offline
• •
Upload & Sell: Off
p.1 #8 · TIFF vs JPEG question


yawn.....


Feb 09, 2008 at 07:14 PM
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #9 · TIFF vs JPEG question


tomrock wrote:
It's math -- for every pixel in a tiff, there is R, G and B data stored. End of story.

If you're seeing some degradation, it's because of something you're doing to the file before saving it. Are you using any form of noise reduction?

There has to be some logical explanation. Tiff is lossless.


No noise reduction. I am puzzled as well. The images posted are jpegs as they were all converted to jpeg as the final step.

In this test I edited my images and then undid the edits. I was always under the assumption that I could edit a TIFF file as much as I wanted without any image degredation. If this is true then the second image posted above should be identical to the first. This seems to show otherwise.

Edited on Feb 10, 2008 at 08:11 AM



Feb 10, 2008 at 08:06 AM
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #10 · TIFF vs JPEG question


Ok. I just repeated my experiment.

1. RAW image converted to 2 identical TIFF files.

Image # 1 - converted to jpeg, 100% crop.

Image #2 - edited in TIFF (contrast, brightness, then undid these changes), then converted to jpeg, 100% crop.


I still see image degredation in the shingles of the second image....Am I missing something here, because my TIFF files are definitely being damaged in editing.


No edits in TIFF in the first. Second one edited in TIFF then edits undone...
http://brownphotography.smugmug.com/photos/252787602_9Kg6u-M.jpg

Edited in TIFF, then edits undone....
http://brownphotography.smugmug.com/photos/252787600_eorFq-M.jpg



Edited on Feb 10, 2008 at 08:48 AM



Feb 10, 2008 at 08:43 AM
HerbChong
Offline
• • • • •
Upload & Sell: Off
p.1 #11 · TIFF vs JPEG question


what are using to edit with? in Photoshop, once you have undone all your changes, it won't save the file because there aren't any changes to save.

Herb....



Feb 10, 2008 at 08:51 AM
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #12 · TIFF vs JPEG question


HerbChong wrote:
what are using to edit with? in Photoshop, once you have undone all your changes, it won't save the file because there aren't any changes to save.

Herb....


I am using PSP X. The only "permanent" change I made to each image was straightening, which I did to each image. I thus saved the image after doing this. It seems like editing and unediting the TIFF file damaged it somehow.

Here are the two images side by side. Again, the first is unedited and the second is edited in TIFF with edits undone.....

Any explanations for this?

http://brownphotography.smugmug.com/photos/252793960_hbYZZ-L.jpg


Edited on Feb 10, 2008 at 09:22 AM



Feb 10, 2008 at 09:21 AM
rhyder
Offline
• • • •
Upload & Sell: Off
p.1 #13 · TIFF vs JPEG question


There is legislation being drawn up at this very moment.......anyone caught working in and repeatedly saving in jpgs will be subject to repeated waterboarding.


Feb 10, 2008 at 10:39 AM
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #14 · TIFF vs JPEG question


rhyder wrote:
There is legislation being drawn up at this very moment.......anyone caught working in and repeatedly saving in jpgs will be subject to repeated waterboarding.


Definitely true.

But this was edited all in TIFF and only converted to jpeg at the very last step. Thus, there should be no loss in IQ.

Most times in print it won't matter, but I'm planning on doing some big landscape prints and this type of image degredation in TIFF is a bit disturbing. I'm really stumped by this one.



Feb 10, 2008 at 10:48 AM
BobCollette
Offline
• • •
Upload & Sell: Off
p.1 #15 · TIFF vs JPEG question


As you probably know by now, JPEG is a lossy format. Regardless of what format (TIFF, PSD, etc.) your image was previously saved in, as soon as you save it as a JPEG, you've degraded the image.

The real test would be to open your raw image and crop a portion (as you have been doing), and then save it twice, once as a TIFF, and then as a JPEG. Open both images and compare the detail. If you have saved the TIFF as either uncompressed or LZW, you should have exactly what you started with, no loss of detail.



Feb 10, 2008 at 11:09 AM
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #16 · TIFF vs JPEG question


BobCollette wrote:
As you probably know by now, JPEG is a lossy format. Regardless of what format (TIFF, PSD, etc.) your image was previously saved in, as soon as you save it as a JPEG, you've degraded the image.
.....


True, but then both images should show equal degradation. Why does the second image show more degradation?

The only difference between these images is that the second image was edited as a TIFF file and the first was an united TIFF. Then both were converted to jpeg. Thus, if there was no damage to the edited TIFF file then both images should be identical.


Edited on Feb 10, 2008 at 11:18 AM



Feb 10, 2008 at 11:17 AM
cgardner
Offline
• • • • •
Upload & Sell: Off
p.1 #17 · TIFF vs JPEG question


TIFF records the RGB value for each pixel. JPG encodes 8x8 pixel blocks in a form of Lab notation. If you are familar with Lab space you know that the "a" and "b" channels which carry the blue/yellow and green/magenta color information look very low in contrast. That also makes them highly compressible with minimal loss of color fidelity. Most of the detail is carried in the L (luminance channel). How compressible that channel is depends on the content of the image, which is why JPG file size will vary.

The quality variable in JPG controls the extent to which similar values - Lab components, not RGB - are averaged and treated as the same tone. The fewer tones, the more tonal degradation. At level 10 there is very little averaging and as a result very little degradation. Some random noise might be spotted by pixel peeping at 100% in flat tonal areas like the sky or the surface of a car, but when prints from a level 10 jpg and TIFF file are compared side-by-side the variables of the printing mask any differences. Thats why most pro labs suggest file submission as level 10 jpgs. Levels above 11 or 12 significantly increase file size without any tangible, visible difference in the print at normal viewing distance.

What is equally important with respect to perceptual IQ is how the file is sharpened before being saved for output. Sharpening done after resizing and should be varied according to the output size, characteristics of the output device, and the viewing distances. It is impossible to judge sharpening for a print on screen, you need to make test prints on the actual printer being used with varying degrees of USM and look at them from the distance the image will be viewed. If making a large print use a small section for the test but view it at the distance the large print will be seen from to accurately gauge the perceptual effect of IQ. The color temp of the lighting where the print will be displayed should also be taken into account. The best evaluations are done in the place where the final print will hang, or identical lighting conditions.

Chuck


Edited on Feb 10, 2008 at 11:25 AM



Feb 10, 2008 at 11:24 AM
michael49
Offline
• • • • •
Upload & Sell: Off
p.1 #18 · TIFF vs JPEG question


Chuck - that information is very helpful, thanks.

But I still don't see how it explains the loss in IQ that occured from editing the TIFF file. These edits were all undone prior to converting to jpeg. Thus, I don't see why both images shouldn't look identical.



Feb 10, 2008 at 11:55 AM
HerbChong
Offline
• • • • •
Upload & Sell: Off
p.1 #19 · TIFF vs JPEG question


as far as i am concerned, any application that after undoing all changes thinks something is changed is broken. on top of which TIFF has many variants including JPEG compression. normal TIFF is lossless compression and unless you are saving in one of the lossless formats, all bets are off.

Herb...

michael49 wrote:
I am using PSP X. The only "permanent" change I made to each image was straightening, which I did to each image. I thus saved the image after doing this. It seems like editing and unediting the TIFF file damaged it somehow.




Feb 10, 2008 at 01:16 PM
cgardner
Offline
• • • • •
Upload & Sell: Off
p.1 #20 · TIFF vs JPEG question


michael49 wrote:
Chuck - that information is very helpful, thanks.

But I still don't see how it explains the loss in IQ that occured from editing the TIFF file. These edits were all undone prior to converting to jpeg. Thus, I don't see why both images shouldn't look identical.



I suspect what you are seeing is an unintended consequence of the jpg conversion process which is resulting in the same thing unsharp masking does: create additional contrast on at the tonal transitions which creates the illusion of more sharpness.

You might try applying moderate sharpening to the RAW file before the conversion to TIFF and JPG and see if that makes a difference.

Chuck



Feb 10, 2008 at 01:21 PM
       2       end




FM Forums | Post-processing & Printing | Join Upload & Sell

       2       end
    
 

Welcome back
Log in to your account