Antwort: Saving little-endian 16 bit TIFF / "save-string-to-file" macro command

Posted by Joachim Wesner on
URL: http://imagej.273.s1.nabble.com/Saving-little-endian-16-bit-TIFF-save-string-to-file-macro-command-tp3696133p3696135.html

Hi,

according to official TIFF specifications, all valid TIFF readers MUST be
able to read both endian-formats!!!

You should complain with the vendor of that program!

JW

ImageJ Interest Group <[hidden email]> schrieb am 25.05.2008 00:39:30:

> Hi,
>
> I am using a program (BD AttoVision) that can only read 16 bit TIFF
> files in the "little endian" TIFF format starting with "49 49 2A 00"
> ("II*."). However, ImageJ saves all files in the "big endian" TIFF
> format starting with "4D 4D 00 2a" ("MM.*"). This essentially nukes
> all my images if I open and save them from ImageJ.
>
> Please could you add an option to save little endian" TIFF files
> and/or to preserve the format.
>
> I use ImageJ macros to process a large number of these TIFF files
> and I was trying to figure out a workaround to the problem described
> above (it would have been as simple as using a regexp to switch
> bytes). Unfortunately, there is currently no ways to handle binary
> files (the "print(file, string)" command changes special characters
> such as newlines).
>
> Please could you also implement binary file support (e.g. a simple
> "save-string-to-file" command) to the macro language.
>
> Thanks,
>
> Niels
>
>
> _________________________________________________________________
> E-mail for the greater good. Join the i’m Initiative from Microsoft.
> http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_
GreaterGood

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________