Re: Tiff 'image to Stack' generation, Tag problem: unknown field with tag 50839 (0xc697) encountered
Posted by
Wayne Rasband on
URL: http://imagej.273.s1.nabble.com/Tiff-image-to-Stack-generation-Tag-problem-unknown-field-with-tag-50839-0xc697-encountered-tp3692040p3692041.html
> Dear All
>
> Problem description:
> ===============
> I was making multi-paged Tiff image using ImageJ (using option:
> Image
> to Stack) to be analyzed by already developed
>
> script in Acapella (Opera). It does not recognize the tag file ' 50839
> '
> added by ImageJ [Error Message: unknown field with tag 50839 (0xc697)
> encountered]
>
> and hence can not proceed.
This is a bug in Acapella. TIFF readers are supposed ignore tags they
do not recognize.
> On the other hand, other commercial Tiff image joiner/ merger does not
> add
> that specific tag and hence Acapella
>
> works smoothly for those images and I will be using ImageJ.
>
>
> Queries:
> ======
> (1) Looking forward for solution/suggestion.
Upgrade to ImageJ 1.43b, run the Image>Stacks>Images to Stack command,
disable "Use Titles as Labels" in the dialog box, and tag 50839 will
not be created when you save the resulting stack as a TIFF file.
> (2) Is it possible have the 'Image to Stack' source code - so that I
> can
> check/modify and prepare the code for batch/auto conversion of many
> images.
The source for the ImagesToStack class is at
<
http://rsb.info.nih.gov/ij/source/ij/plugin/ImagesToStack.java>. The
complete source for ImageJ 1.43b is at
<
http://rsb.info.nih.gov/ij/download/src/>.
> (3) Why is the tag '50839' needed?
It is the private TIFF tag used by ImageJ to save metadata, such as
stack slice labels.
-wayne