Package com.pixelmed.convert
Class AddTIFFOrOffsetTables
java.lang.Object
com.pixelmed.convert.AddTIFFOrOffsetTables
A class for to add make a dual-personality DICOM-TIFF file and/or add Basic or Extended Offset Tables.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAddTIFFOrOffsetTables
(String inputFileName, String outputFileName, boolean addTIFF, boolean useBigTIFF) Read a DICOM image input format file and create a dual-personality DICOM-TIFF file and/or add Basic or Extended Offset Tables. -
Method Summary
-
Constructor Details
-
AddTIFFOrOffsetTables
public AddTIFFOrOffsetTables(String inputFileName, String outputFileName, boolean addTIFF, boolean useBigTIFF) throws IOException, DicomException, TIFFException, NumberFormatException Read a DICOM image input format file and create a dual-personality DICOM-TIFF file and/or add Basic or Extended Offset Tables.
Does not change the Transfer Syntax.
- Parameters:
inputFileName
-outputFileName
-addTIFF
- whether or not to add a TIFF IFD in the DICOM preamble to make a dual=personality DICOM-TIFF file sharing the same pixel datauseBigTIFF
- whether or not to create a BigTIFF rather than Classic TIFF file- Throws:
IOException
DicomException
NumberFormatException
TIFFException
-
-
Method Details
-
main
Read a DICOM image input format file and create a dual-personality DICOM-TIFF file and/or add Basic or Extended Offset Tables.
Options are:
ADDTIFF | DONOTADDTIFF (default)
USEBIGTIFF (default) | DONOTUSEBIGTIFF
- Parameters:
arg
- two parameters plus options, the DICOM inputFile, the DICOM outputFile, then various options controlling conversion
-