2005.10.24 07:20 "[Tiff] How can I insert IFD at custom index?", by Шебеко Евгений

2005.10.24 07:20 "[Tiff] How can I insert IFD at custom index?", by Шебеко Евгений

I need to insert IFD at a custom index.

I see only function that insert IFD at the end of file. Maybe it's possible some hack solution do do this?

I meen that I do my custom rebind code, such that change pointer in a preview IFD to my IFD and newxt IFD to my IFD.

Than I do something(What I need to do?) to make correct initialization of TIFF structure to work with my IFD?

By the way. Is TIFFWriteDirectory() check the space need for writing IFD? I beleive that if enough space in old IFD locattion TIFFWriteDirectory write it in old location. if not write it at the end of file. Is it true?