I photograph with Canon 50D. The image format is a canon proprietary format. To transform this format to tiff I use the canon software Digital Photo Professional (DPP). This means that the transforming process automatically produce two tiffs in one tiff container. The image and its thumb. (I found no way in DPP to make only the image but not the thumb).
If I identify with imageMagick one of this canon produced tiffs (e.g. aussen_0001a.TIF) I get this informations:
aussen_0001a.TIF[0] TIFF 3168x4752 3168x4752+0+0 16-bit TrueColor DirectClass 86.31mb 0.730u 0:03
aussen_0001a.TIF[1] TIFF 168x252 168x252+0+0 8-bit TrueColor DirectClass 86.31mb
identify: aussen_0001a.TIF: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory'.
Then I delete the second tif aussen_0001a.TIF[1] with this code
Code: Select all
convert 'aussen_0001a.TIF[0,2-1000]' new_aussen_0001a.TIF
I get this note:
- convert: aussen_0001a.TIF: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory'.
It seems like an error but the new image (new_ausse_0001a.TIF) is produced.
After identifying
this message appears:
new_aussen_0001a.TIF TIFF 3168x4752 3168x4752+0+0 16-bit TrueColor DirectClass 86.18mb
So I think there are indeed frames. But in my case (there are only two frames) I can write the follow code:
Code: Select all
convert aussen_0001a.TIF[0] image.TIF
But one question: what does the message
convert: aussen_0001a.TIF: unknown field with tag 40961 (0xa001) encountered. `TIFFReadCustomDirectory'. mean?