#2 Derived datastreams not created for multi-page tiffs

open
nobody
None
5
2012-10-29
2008-02-17
Matt Painter
No

Hi,

I'm doing a test ingest of a bunch of tiff files and stumbled upon one where the derived datastreams aren't being created.

The files created by convert for the thumbnail are:

thumbnail_n291.jpg.0
thumbnail_n291.jpg.1

however Fez is expecting thumbnail_n291.jpg

According to the convert man page:

"Single images are written with the filename you specify.
However, multi-part images (e.g. a multi-page Postscript
document with +adjoin specified) are written with the
filename followed by a period (.) and the scene number. You
can change this behavior by embedding a printf format
specification in the file name. For example,"

I never knew that TIFF files can have multiple pages, so there you go. Perhaps a quick-n-dirty solution would be to display thumbnails for the first page? (i.e., if convert creates a file with extension .jpg.0, unless there's a cleaner way to determine this)

I would attach the file, but it's 50Mb. Happy to distribute through some other means if desired.

  • Matt

Discussion

  • Matt Painter
    Matt Painter
    2008-02-17

    Logged In: YES
    user_id=485632
    Originator: YES

    btw, this is for Fez 2.0RC1

     
  • Christiaan
    Christiaan
    2008-02-19

    Logged In: YES
    user_id=1331369
    Originator: NO

    Thanks for the info on the best way to resolve this.