X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Jan 2015 08:28 PM by  anon
BigTIFF keyword not recognised in WRITE_TIFF IDL 8.2.3
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:3
New Member


--
06 Jan 2015 08:28 PM
    Hi, I'm working with IDL 8.2.3, and it's really great to see bigTIFF support has been added to read_tiff so I can read in larger files. The online help files suggest write_tiff can now write to bigTIFF format too, but when I try it the BIGTIFF keyword is not recognised, and it's not shown as a listed keyword in the hover help for the function either. Is there a known bug or am I working with an obsolete version of write_tiff? I believe it's not actually written in IDL so I can't just look for the source code in the lib directory to see if it needs updating.

    Deleted User



    New Member


    Posts:
    New Member


    --
    29 Jan 2015 05:00 PM
    READ_TIFF has support bigTIFF since IDL 8.2. I don't think that you need to specifiy if the file is a bigTIFF. READ_TIFF should automatically recognize the file as a bigTIFF and read it correctly.

    Deleted User



    New Member


    Posts:3
    New Member


    --
    05 Feb 2015 05:02 PM
    Hi, sorry if I wasn't clear enough: READ_TIFF recognises big tiff files perfectly, without specifying file type as you say. My problem is with WRITE_TIFF, I wish to write to big tiff format. According to the help docs this does need the /BIGTIFF keyword. I can't get it to recognise this keyword, let alone write to big tiff. Is this normal for IDL 8.2 and above?

    Deleted User



    New Member


    Posts:
    New Member


    --
    06 Feb 2015 11:22 AM
    I'm sorry. I misread your post. I looked into this and it appears the BIGTIFF keyword was added in IDL 8.4 to fix an issue. In previous versions, IDL will automatically save the data as bigTIFF if the data is greater that 4GB.

    Deleted User



    New Member


    Posts:3
    New Member


    --
    08 Feb 2015 09:16 PM
    Ah OK, thanks that's good to know. From that I would conclude that if I want to force create a big tiff file which is less than 4GB, and then append to this file (i.e. for a multi-image tiff) such that the file size is pushed to over 4 GB, I would need IDL 8.4.
    You are not authorized to post a reply.