// -- Helper methods --
private void setupTiffSaver() throws IOException {
out.close();
out = new RandomAccessOutputStream(currentId);
tiffSaver = new TiffSaver(out, currentId);
MetadataRetrieve retrieve = getMetadataRetrieve();
Boolean bigEndian = retrieve.getPixelsBinDataBigEndian(series, 0);
boolean littleEndian = bigEndian == null ?
false : !bigEndian.booleanValue();