LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-06-2009, 05:29 PM   #16
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738

Quote:
We sued over the "high resolution" cd and the magistrate awarded us $400 or so because the cd was far from high resolution.
Something's missing here....If the files are all corrupted, how would anyone know what resolution they are (or were)? I would think you would have had to demonstrate what kind of files you had been given before anyone would award you anything.

Regardless, assuming that you got an award because---for example--he just admitted they were low-res, the fact that the files proved not readable at all would still be "actionable"**.


**lawyers invent the most marvelous words....
 
Old 12-06-2009, 06:27 PM   #17
Boyd
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 1
Photography forum

Quote:
Originally Posted by waterloggedsocks View Post
Someone also mentioned potentially taking my concern to another blog. I am far from computer savy and have little experience with tech blogs. However, I did post other places but I think they are largely inactive. If you have suggestions for other blogs, or want to direct people to my files on other blogs feel free. Thanks again for all of your help.
That would be me. I used to heavily use the forums at DPChallenge. There are people there just chomping at the bit to help out anyone having any kinds of issues with photography, including this. I'm sure there are many other forums, like maybe Flickr that are very active.
 
1 members found this post helpful.
Old 12-06-2009, 08:47 PM   #18
waterloggedsocks
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Duh!!! Maybe this would help.

It just occurred to me that I while I have 125 corrupt files, there are 1300 that were viewable that we got as part of our original agreement. The 125 corrupt were just off of one card that wrote corrupt images. Therefore, I have now loaded about four of the images that can be successfully opened. They are on the 4shared site with the corrupt files:
http://www.4shared.com/dir/24915904/...3/sharing.html

Perhaps being able to see the files that have successfully written will be helpful. That way you can compare data to see how closely they are written. Thanks again folks.
 
Old 12-06-2009, 11:42 PM   #19
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Independent of this new info, I have looked a bit more at one of the "bad" files. I can find NONE of the tags specified in the jpeg file spec---including the one for end of file. This does not bode well for recovery.

So---125 bad, and 1300 good: Sounds like there is not quite the crisis that we had thought....
 
Old 12-07-2009, 06:07 AM   #20
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
Well, in that case it looks like they were indeed jpegs at one point.

One thing you can try, because all images seem to be at the same resolution, is you can use 'dd' to cut off the header plus some more of one jpeg that works, and attach it to one of the jpegs that doesn't work. This is hit or miss, because if the offset is wrong, the image will not show up. So, it's going to be really difficult. I don't think it's worth the effort, unless you think it is.

I've tried this technique myself and once in a while it actually works ... but it's rare.
 
Old 12-07-2009, 12:16 PM   #21
lbukys
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Rep: Reputation: 0
Do you know the exact model of Canon camera?
 
Old 12-07-2009, 12:28 PM   #22
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by lbukys View Post
Do you know the exact model of Canon camera?
First, we don't know whose post you are responding to.

Second, the assumption all along is that these are supposed to be Jpegs. if so, the model of camera is probably not relevant.

BUT--has anyone tried viewing these in a hex editor to see if they match any of the known RAW formats?
 
Old 12-07-2009, 12:33 PM   #23
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by waterloggedsocks View Post
It just occurred to me that I while I have 125 corrupt files, there are 1300 that were viewable that we got as part of our original agreement. The 125 corrupt were just off of one card that wrote corrupt images.
You had a memory card also? Do you still have it?

Did you post files from the card, or from a CD?
 
Old 12-07-2009, 06:19 PM   #24
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,827

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
BUT--has anyone tried viewing these in a hex editor to see if they match any of the known RAW formats?

i did - it is giberish

ufraw also failed
 
Old 12-07-2009, 06:48 PM   #25
waterloggedsocks
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Update

The photographer refused to give us the SD card that had been in the camera that had the corrupt files. Instead, I watched him directly copy and paste the file onto a cd burning program. What I have uploaded online are the files off of the burned cd.

With all of this talk, I am beginning to wonder if these files are truly JPEG. They say JPEG, but I'm not sure what a Cannon initially records the image as. I don't have any reason to believe that he had already started converting the file to JPEG from whatever it was originally shot as. The corrupt files should be exactly what the Cannon was set at. With that in mind, all I can say is that I know he was bragging about how advanced and costly the Cannon camera was that he was using. This was in November of 2007.

I don't know if any of this helps but this is what I got. Thanks.
 
Old 12-10-2009, 06:26 PM   #26
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
The only thing I can think of at this point is to try searching for tags or data structures that are associated with some other plausible formats--eg RAW. As I stated before, I could see no hint of non-random structures, and I also could not find any of the tags mentioned in the JPEG specs.
 
Old 12-10-2009, 07:10 PM   #27
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by pixellany View Post
No such luck... Once again, the whole file appears to be random---no header information whatsoever. This means there is no information to tell **any** SW which data means what.
I dont think you understand...You see RAW image format has no header.
 
Old 12-10-2009, 07:48 PM   #28
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by smeezekitty View Post
I dont think you understand...You see RAW image format has no header.
Do you have an example of a RAW file? And/Or, do you have the actual file format spec.? I have been using "header" to include the information required to read the stream of random pixel values. As an absolute minimum, the pixel format must be known (eg 640x480, 1024x768, etc.) otherwise, there is no way to know how the values are to be laid out. I would regard that info to be part of the header.
 
Old 12-10-2009, 07:51 PM   #29
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by smeezekitty View Post
I dont think you understand...You see RAW image format has no header.
Also---are you telling us that a camera writing in RAW format does not record any metadata, timestamp, etc.?? That's not plausible to me....
 
Old 12-10-2009, 08:08 PM   #30
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Do you have an example of a RAW file?
Yes, it is attached.
Attached Files
File Type: txt gray.raw.txt (187.5 KB, 21 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I fix corrupt video settings? MALDATA Linux - General 3 03-14-2005 12:26 PM
can't 'userdel' OR How to fix a corrupt utmp? Plauderer Linux - General 3 09-03-2004 12:50 PM
Corrupt Zip/OpenOffice file - any way to fix? gazurtoids Linux - Software 0 12-09-2003 04:39 AM


All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration