#12 Additional Tiff-Tag "TIFFTAG_SUBFILETYPE"

closed-rejected
None
5
2009-08-31
2007-11-15
Anonymous
No

Additional TIFF-Tag (TIFFTAG_SUBFILETYPE) for storing files in the fax-format to meet the specification shown at:

http://palimpsest.stanford.edu/bytopic/imaging/std/tiff-f.html

Discussion

  • Nobody/Anonymous

    Additional TIFF-Tag (TIFFTAG_SUBFILETYPE)

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2007-11-18
    • assigned_to: nobody --> bfriesen
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2007-11-18

    Logged In: YES
    user_id=128624
    Originator: NO

    Using 'NewSubFileType = 2' is not always appropriate. The current code (as released in 1.1.10) uses this logic:

    {
    /*
    Page and Page number tags. Page is the current page number
    (0 based) and pages is the total number of pages.*/

    uint16
    page,
    pages;

    page=(uint16) scene;
    pages=GetImageListLength(image);

    if (image_info->adjoin && pages > 1)
    {
    /* SubFileType = 2. LONG. The value 2 identifies a single page of a multi-page image. */
    (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_PAGE);
    }

    (void) TIFFSetField(tiff,TIFFTAG_PAGENUMBER,page,pages);
    }

    This logic only claims that the image frame is part of a set if the pages are provided in the form of an image list.
    Since GraphicsMagick is not able to accurately guess the correct value of this parameter, should it be explicitly set by the user?

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2009-08-31

    Specification referred to is not the standard. GraphicsMagick is doing what it reasonably can.

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2009-08-31
    • status: open --> closed-rejected
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks