• Welcome to Camera Craniums: The Photography Community for Enthusiasts.
 
Members
Stats
  • Total Posts: 62,411
  • Total Topics: 5,704
  • Online today: 297
  • Online ever: 856 (January 21, 2020, 09:07:00 AM)
Users Online
  • Users: 0
  • Guests: 174
  • Total: 174
photobox
Amazon Spring Deal: SanDi...🌸🌼 Get Ready to Blossom w...Marantz Professional MPM-...Google Pixel 7a and Pixel...JasmineSanDisk Ultra 64GB USB Fl...SanDisk 512GB Extreme PRO...GiaDo You Shoot Photos With ...Which eye do you use with...SanDisk 256GB Extreme PRO...Duracell Plus Alkaline 1....RØDE VideoMicro Compact O...I must be one of the rare...Learning ResourcesPhotography and Time of D...

file problem

Started by spinner, April 29, 2011, 07:33:28 PM

Previous topic - Next topic

spinner

This might be a Mac problem more than a Photoshop. I found an old GIF file on a floppy disk. Was a scan from the 90's a picture of myself from another life.  Anyway I was trying to clean it up with Photoshop on the Mac. Got some work done and saved it as a .JPG. Because I have a plug in on my PC for Photoshop that doesn't have a Mac equivilent I tried to open that .jpg using Elements on the PC. It wouldn't open saying the file had an unknown or invalid JPEG marker.
And more, much more than this, I did it my way
Ol' blue eyes

http://ddsdigita4.wix.com/ddsdigital
https://www.flickr.com/photos/spin498/

Oldboy

When you save it on the Mac you need to save as a PC file otherwise, the PC can't open the file. See video below.  ;D

http://www.youtube.com/watch?v=nLJj4y28l68

spinner

#2
I thought the various photo files were universal? A jpeg is a jpeg is a jpeg. I don't have any issues with jpegs that I've edited on a Linux box with GIMP. I can open them with either the PC or the Mac without any issues. BTW that link is showing someone how to network a Mac and a PC. Oh, and the original GIF was on a PC and transferred to the Mac without issue.
And more, much more than this, I did it my way
Ol' blue eyes

http://ddsdigita4.wix.com/ddsdigital
https://www.flickr.com/photos/spin498/

picsfor

Split on this, as i don't think we have enough info.
There is the option that you had a corrupt file save, as it is possible that you used a save as option that is not necessarily compatible. It isn't jpg's that are the issue - more over the data structure used to save the jpg (in other words not a FAT or NTFS file structure).

M$ Windows doesn't by nature, read Mac OS stuff, where as Apple can read MS stuff...

Oldboy

Quote from: spinner on April 30, 2011, 01:02:00 AM
I thought the various photo files were universal? A jpeg is a jpeg is a jpeg. I don't have any issues with jpegs that I've edited on a Linux box with GIMP. I can open them with either the PC or the Mac without any issues. BTW that link is showing someone how to network a Mac and a PC. Oh, and the original GIF was on a PC and transferred to the Mac without issue.

Sorry, I thought it showed how to save a file on the Mac so a PC could access it.  :-[

As picsfor says, a Mac can read a PC file but the PC can't read a Mac file unless, it's saved as a PC file structure. So, transferring the Gif from a PC to the Mac isn't a problem, but saving on the Mac after working on the file, changes the structure format of the file hence, why you can't open it on the PC. When saving on the Mac you can change the file structure so it can be opened on a PC. Have posted another link below.  ;D

http://www.ehow.com/how_6907549_do-photoshop-jpg-pc-jpg_.html

Jonathan

Quote from: spinner on April 30, 2011, 01:02:00 AM
I thought the various photo files were universal? A jpeg is a jpeg is a jpeg.

That's true.  There is no such thing as a "Mac jpeg" or a "Windows jpeg" - it's a jpeg.  Somehow your file is corrupt.

From what you say the most likely cause is that you didn't really save it as a jpeg - you saved it as something else (maybe a gif?) with a jpeg extension.  Macs don't (always) use the extension to work out the file type but PCs do.  PCs will throw a wobbly trying to open something called a jpeg that isn't but Macs will just generally get on with it.

If it's not that then the file is corrupt for some other reason.

Quote from: Oldboy on April 30, 2011, 08:16:40 AM
As picsfor says, a Mac can read a PC file but the PC can't read a Mac file unless, it's saved as a PC file structure. So, transferring the Gif from a PC to the Mac isn't a problem, but saving on the Mac after working on the file, changes the structure format of the file hence, why you can't open it on the PC. When saving on the Mac you can change the file structure so it can be opened on a PC. Have posted another link below.

Nope.  You're confusing disk formats with file formats.

PCs can read and write NTFS and FAT.  Older Macs can read and write HFS and FAT and read but not write NTFS.  Recent Macs can read and write NTFS too (I think it came in in Leopard but it may be new in Snow Leopard).  PCs may be able to read HFS now.  They might even be able to write it for all I know.  But that doesn't affect the file format - if the OS can read the disk it should be able to read the file.
It's Guest's round

spinner

Well I had go out to my garage to find it, but i fired up an old Linux box and added it to my home network and grabbed the file off the Mac with GIMP and it opened no problem. I'm starting to wonder if my Win 7 doesn't network properly as I had issues printing Word doc.'s from the Mac to a printer networked from that same Win 7.

You triggered a memory Jonathan, I recall on one of my computer courses being told that it's not just the ext. that makes the file, there is a block of code at the very front of every file that identifies it and sets up which program it should work with, so you are probably right in that the Mac writes that block differently and Windows can't read it.
And more, much more than this, I did it my way
Ol' blue eyes

http://ddsdigita4.wix.com/ddsdigital
https://www.flickr.com/photos/spin498/

spinner

There's definitely something strange occurring between my Mac and my Win7 PC. I've just opened up the file with my HP lappy running Win7 without any problems.  Some kind of networking issue it seems.
And more, much more than this, I did it my way
Ol' blue eyes

http://ddsdigita4.wix.com/ddsdigital
https://www.flickr.com/photos/spin498/

Jonathan

Go to the file on the Mac, hit Apple-I and tell me what it says under "Kind" ( in the general section).

My guess is still that it isn't a jpeg.

Macs identify file type by looking at the file type setting in the resource fork.  If there's none present then they guess based on the extension.  I assume Linux does the same (since they are both essentially derivates of Unix). 

That might also explain why a Win7 box could open it - assuming M$ had finally changed to match *nix systems.
It's Guest's round

picsfor

To my knowledge, M$ is still built to accommodate the old DR DOS legacy.

Until they take the decision to move back to the Unix family, they will always have these issues. That is one of the reasons i chose to move away from M$ - the incompatibility with the rest of the world...

Hinfrance

Quote from: picsfor on May 02, 2011, 09:47:34 AM
To my knowledge, M$ is still built to accommodate the old DR DOS legacy.

Until they take the decision to move back to the Unix family, they will always have these issues. That is one of the reasons i chose to move away from M$ - the incompatibility with the rest of the world...

Is that the 11% of the world that doesn't use MS?  :2funny:  :2funny:

Sorry Andy, couldn't resist it . . .
Howard  My CC Gallery
My Flickr
The theory seems to be that as long as a man is a failure he is one of God's children, but that as soon as he succeeds he is taken over by the Devil. H.L Mencken.

Oldboy

Quote from: Hinfrance on May 02, 2011, 10:28:24 AM
Quote from: picsfor on May 02, 2011, 09:47:34 AM
To my knowledge, M$ is still built to accommodate the old DR DOS legacy.

Until they take the decision to move back to the Unix family, they will always have these issues. That is one of the reasons i chose to move away from M$ - the incompatibility with the rest of the world...

Is that the 11% of the world that doesn't use MS?  :2funny:  :2funny:

Sorry Andy, couldn't resist it . . .

:2funny: :2funny:

picsfor

Your point is well made and i did open myself up for that...  :-X

That said, M$ is slowly ceasing to be the main O/S as the world moves towards mobile computing with tablets and phones.
People are just so fed up with the issues associated with M$ that they just want simple and reliable computing, and M$ is not it.
Not saying Apple is the promised land - but Unix based systems are...

spinner

Quote from: Jonathan on May 02, 2011, 08:25:53 AM
Go to the file on the Mac, hit Apple-I and tell me what it says under "Kind" ( in the general section).

My guess is still that it isn't a jpeg.

Macs identify file type by looking at the file type setting in the resource fork.  If there's none present then they guess based on the extension.  I assume Linux does the same (since they are both essentially derivates of Unix). 

That might also explain why a Win7 box could open it - assuming M$ had finally changed to match *nix systems.

Apple i says "JPEG image". Name extension says " Dav copy.jpg". However, if I use Windows Explorer on the PC in question and browse the Mac it identifies the file as
"._dav copy.jpg". In fact I've noticed that going back to Christmas, every file that was
worked on is preceded with "._". I've check with my HP lappy and my daughter's PC which networked with the others and both see "dav copy.jpg" and can open the file no issue.

Given the problem I have had trying to get the Mac to print on a networked printer attached to the same Win7 machine I'm convinced something is getting garbled during the packet transmissions between these two specific machines.
And more, much more than this, I did it my way
Ol' blue eyes

http://ddsdigita4.wix.com/ddsdigital
https://www.flickr.com/photos/spin498/

Jonathan

Woah!!!!!!

Let me guess, are the files on the PC fairly small and pretty much all the same size?

That's not the file itself (aka the data fork) - that's the resource fork.

Looks like when you copy the file to the PC you are picking up the resource fork not the data fork and PCs don't like those at all.  The file name starts with a . which in Unix says "hide this file". 
This is a guess (because it's beyond my current PC knowledge) but does the "problem" machine have "show hidden files" turned on and the other have it turned off?  If so then turn it off.

Either way, it's generally safer pushing files from Mac to PC than pulling them from PC to Mac (since Mac understands its own file structure)
It's Guest's round

Camera Craniums is a participant in the Amazon EU Associates Program. This affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on Amazon.