On Thu, Jul 09, 2009 at 11:34:36AM -0400, Luke Somers wrote:
> 
> OHOOOO!!! That's the problem! I emailed the files to myself  
> uncompressed. Maybe the 'change' is just that the sftp client was  
> removed from the microscrope's computer, so I no longer had the option  
> to use any other method. And when we tried on windows, we took the  
> files from the mac, so it was already too late.
> 
> I can partially fix these by changing the line endings in Xcode. It's  
> willing to open them, but the images come out severely wrong. I expect  
> that this is because the data suddenly changes to binary part way  
> through... All right. I see what needs to be done.

If you send them from a Microsoft system to Unix or Mac, the changes are
irreversible because every occurence of LF or CR character in the binary
data could originally be either this single character or a CR,LF sequence.

So the data is too short and you don't know where to add the missing
bytes.

Sending between systems that use the same line-ends unfortunately works
often enough to convince people it works generally...

> Maybe Gwyddion's nanoscope file loader could recognize files which  
> have had their line endings changed, and instruct the user not to let  
> that happen? Also issuing a warning against changes of character set,  
> which also seems to have happened here.

Maybe...  I accept patches...

Regards,

Yeti


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to