Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
06-07-2009, 06:50 PM   #1
Junior Member




Join Date: Jan 2007
Location: St. Paul, MN
Posts: 29
Rewrite jpg's to many times? Degrade Pictures?

I have been searching, but can not find an answer that seems to be authoritative on either side here. Does resaving the same jpg file a few times degrade the image? I am not doing any changes to the picture itself, just adding tags, etc to the file.

I keep all pictures on two different laptops and actually will do tagging on each laptop, syncing them with Syncback through a WHS box. I need to make sure that each file is the same on all 3 places when done with it. Right now there does not seem to be a program that will allow me to catalog this cleanly so I am going to resort to this method - if it does not degrade the original photos.

Or maybe I do nothing and wait for someone to write a program that will allow the syncing of a catalog that has different file paths on multiple computers...

06-07-2009, 07:12 PM   #2
Senior Member




Join Date: Feb 2009
Location: west coast USA
Posts: 206
I think the answer to your question is going to depend on what you're using to tag the files.
06-07-2009, 07:17 PM   #3
Veteran Member




Join Date: Apr 2008
Location: Minnesota
Photos: Gallery
Posts: 1,529
QuoteOriginally posted by buckethead Quote
Or maybe I do nothing and wait for someone to write a program that will allow the syncing of a catalog that has different file paths on multiple computers...
Windows Live Mesh might be what you are looking for:

https://www.mesh.com/welcome/default.aspx
06-07-2009, 07:40 PM   #4
Junior Member




Join Date: Jan 2007
Location: St. Paul, MN
Posts: 29
Original Poster
QuoteOriginally posted by Quension Quote
I think the answer to your question is going to depend on what you're using to tag the files.
That I am not sure on yet, been trying out iTag and XnView.

QuoteOriginally posted by MrApollinax Quote
Windows Live Mesh might be what you are looking for:

https://www.mesh.com/welcome/default.aspx
Would not solve the different path - basically my WHS box is live mesh on my local LAN.

06-08-2009, 12:24 PM   #5
Veteran Member
Marc Sabatella's Avatar

Join Date: Sep 2006
Location: Denver, CO
Photos: Gallery
Posts: 10,685
QuoteOriginally posted by buckethead Quote
I have been searching, but can not find an answer that seems to be authoritative on either side here. Does resaving the same jpg file a few times degrade the image? I am not doing any changes to the picture itself, just adding tags, etc to the file.
It would have to be an exceedingly poorly written program to decode and then recompress an image just to write some tags. If the program is anything that ever gets mentioned here, I'm sure it's fine.
06-08-2009, 12:26 PM   #6
Moderator
Loyal Site Supporter
Wheatfield's Avatar

Join Date: Apr 2008
Location: The wheatfields of Canada
Posts: 15,981
The problems with image degradation and jpegs is when the file is opened and resaved multiple times, I think slight changes have to be made to the file before saving for anything noticable to happen.
Copying and pasting files between drives, such as what is done during back-ups should have no effect on the files with regard to image degradation.
06-09-2009, 01:40 AM   #7
Veteran Member




Join Date: Aug 2007
Photos: Gallery
Posts: 1,563
QuoteOriginally posted by Marc Sabatella Quote
It would have to be an exceedingly poorly written program to decode and then recompress an image just to write some tags. If the program is anything that ever gets mentioned here, I'm sure it's fine.
Well, my experience with the code written I've seen over the last few decades, you can not be sure. It is not all quality that's out there
I'd say: it depends on the program you are using. Try: "Save as...", close and open the saved file, then save it again, 20 times.
Then pixel peep the first input file versus the last output file. Examen the result.

- Bert

06-09-2009, 08:37 AM   #8
Veteran Member
Marc Sabatella's Avatar

Join Date: Sep 2006
Location: Denver, CO
Photos: Gallery
Posts: 10,685
QuoteOriginally posted by bymy141 Quote
Well, my experience with the code written I've seen over the last few decades, you can not be sure. It is not all quality that's out there
True. But given that it's *more* work to go to all that trouble versus simply updating the EXIF, it's not just a question of quality - it's a matter of someone having to be deliberately stupid or mean to write a program that went out of its way to degrade an image when the simpler solution would *not*.
06-09-2009, 12:53 PM   #9
graphicgr8s
Guest




Anytime you save a jpeg you lose. JPGS are considered a "lossy" file format because of the way it compresses an image. How much it looses depends on the photo.

Professionally, in my work environment I never save a jpeg back to itself. It will always get saved as a tif with no compression if I feel I may need to work on it later. If I give it to a client I will keep the tif and save as a new jpeg.
06-09-2009, 01:59 PM   #10
Veteran Member




Join Date: Aug 2007
Photos: Gallery
Posts: 1,563
QuoteOriginally posted by graphicgr8s Quote
Anytime you save a jpeg you lose. JPGS are considered a "lossy" file format because of the way it compresses an image. How much it looses depends on the photo.

Professionally, in my work environment I never save a jpeg back to itself. It will always get saved as a tif with no compression if I feel I may need to work on it later. If I give it to a client I will keep the tif and save as a new jpeg.
You are right. It is so. However, the question is, if you'd only change the exif data of a picture and then save it, would the program regenerate the JPG data (and degenerate the picture some more) or would it not touch the picture data?

Marc Sabatella is absolutely right that any proper programmer would avoid the regen. And I believe that Marc very well understands technology in a wide range of aspects, reading his posts....

However, my argument is that many object oriented code these days is written as such that the guys using these objects go for convenience instead of efficiency.
No offence Marc, but where I live, they do not teach students proper programming anymore. Most of them have no clue what their compiler actually is doing....
The best support for my argument comes from our todays Windows, Office etc etc.
10 years ago my computers were 20 times as slow, but my todays superduper hardware boots and reacts slower and slower than the stuff we worked with then.
It's all about structural programming and supportability, not about code or program efficiency.

Try it and be sure.

- Bert
06-09-2009, 02:41 PM   #11
wll
Veteran Member




Join Date: Nov 2006
Location: Mission Hills, CA
Posts: 773
If you save a JPEG ..

You must rename it, or it will, over repeated openings and saves loose image quality.

EVERYTIME you save a JPEG rename it ... just a number or letter after the original name will do.

wll
06-09-2009, 03:40 PM   #12
Veteran Member
emalvick's Avatar

Join Date: Feb 2008
Location: Davis, CA
Photos: Gallery
Posts: 1,642
The question of what happens with metadata probably depends on the software.

Programs that focus on metadata / cataloging are less likely to mess with the actual image data than those that are predominantly pixel editors.

I know that a program like Exiftools works because it doesn't touch the image data. That allows it to access Exif, IPTC, etc in as many formats as possible since those headers are in roughly the same format in all file formats (with the caveat that maker notes will vary).

Of course, if you are legitimately concerned with file degredation, why not test a file out for various situations. For instance, repeatedly change the metadata on a copy of a file. Compare the repeatedly tested file with the original. You could even use Photoshop to subtract the modified image from the original in two layers so that the differences become obvious (if there are any).

You could also test an image in photoshop by repeatedly saving it (i.e. purposely recompressing the jpg file). See how that differs from the original.

The one thing I'd wonder is what Lightroom might do. While it specializes in cataloging, it is also the type of program that might take the easy way out and just completely resave an image thus causing degradation. I haven't worked with it enough or know enough about it to know what it might do.

My own choice of cataloging software, IMatch, doesn't access the pixel data when it edits metadata according to the author, and I haven't found reason to doubt it... I have repeatedly changed some metadata on early jpgs as I learned to use that particular program, and I've never noticed any differences.

It will be interesting if anyone does do a test of some of the more mainstream programs and what happens when you either change metadata or even just continually save a jpg that is changing pixels.... i.e. how fast does image degradation occur, if it occurs given that nothing else really changes. I imagine that once you actually start editing pixels be it curves, sharpening, etc that degradation will go a lot faster in those cases.
06-09-2009, 03:46 PM   #13
Veteran Member
wlachan's Avatar

Join Date: Sep 2006
Location: Canada
Photos: Albums
Posts: 2,625
QuoteOriginally posted by buckethead Quote
I have been searching, but can not find an answer that seems to be authoritative on either side here. Does resaving the same jpg file a few times degrade the image? I am not doing any changes to the picture itself, just adding tags, etc to the file.
I tried this out years ago in Photoshop and yes, it would. It's not rocket science, just open any jpeg and resave it 10x and see for yourself. But then the jpeg quality setting does matter too.
06-09-2009, 03:49 PM   #14
Senior Member




Join Date: Feb 2009
Location: west coast USA
Posts: 206
QuoteOriginally posted by buckethead Quote
QuoteOriginally posted by Quension Quote
I think the answer to your question is going to depend on what you're using to tag the files.
That I am not sure on yet, been trying out iTag and XnView.
iTag only alters the metadata; it will never degrade pictures.

XnView depends on exactly what steps you take. For the tags, you open the image and then Edit->Metadata->Edit IPTC data, Keywords tab. If you alter the keywords and then use the Write button on that dialog, it only alters the metadata, and there will be no degradation.

If you merely Apply and then close that dialog, followed by any form of File->Save/Export, it will rewrite the image data as well, and degradation will occur.

QuoteOriginally posted by Marc Sabatella Quote
But given that it's *more* work to go to all that trouble versus simply updating the EXIF, it's not just a question of quality - it's a matter of someone having to be deliberately stupid or mean to write a program that went out of its way to degrade an image when the simpler solution would *not*.
It's not more work, just different work. XnView is actually a good example; if the primary purpose of the app is viewing and conversion, then the image data and relevant metadata will be converted to in-memory formats on load and completely rewritten from scratch on save, according to the export/conversion format chosen.

Selectively modifying file metadata in-place for a specific format is a different task entirely, and is iTag's primary purpose. XnView accomplishes this by confining the task to the IPTC dialog itself. (IrfanView is similar.)
06-09-2009, 08:01 PM   #15
Veteran Member
Marc Sabatella's Avatar

Join Date: Sep 2006
Location: Denver, CO
Photos: Gallery
Posts: 10,685
OK, granted, there *would* be reasons aside from meanness or stupidity where an application might alter the mage data even though your intent was otherwise. I still say it's going to be a rare corner case - "most" programs won't do this unless you use them "incorrectly" (eg, opening an image for editing and then doing a save, as opposed to not even entering the main editor but making the changes directly to the metadata screens). But yes, by all means, do verify you are in fact doing it correctly, and that your program does in fact provide a way to do this. Again, "most" programs will provid a straightforward wa to accomplish this.

BTW, I've got *some* amount of knowledge on a variety of topcs, including photography, but my most extensive training and experience (including BS & MS degrees) is in software engineering. FWIW. So while I have no knowledge of the specific internals of any particular image processing application, I do have a pretty good feel for how things are programmed.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
catalog, photography, photoshop, program, times

Similar Threads
Thread Thread Starter Forum Replies Last Post
K-x raw or jpg? Mystic Pentax DSLR Discussion 30 02-14-2010 09:25 PM
K2000 vs K-x jpg IQ kiwibird Pentax DSLR Discussion 15 12-11-2009 10:03 PM
do digital sensors degrade? Gooshin General Talk 4 12-12-2008 01:00 PM
Help! : PEF to JPG bluespearbone Digital Processing, Software, and Printing 4 11-21-2007 09:49 PM
UV Filters Degrade Image Quality ? daacon Pentax SLR Lens Discussion 28 05-02-2007 05:16 AM



All times are GMT -7. The time now is 01:34 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top