/** * Checks if the value of the Orientation tag matches * any of the values in the array passed to it. * * @param ifd The IFD being checked * @param values An array of values, any of which will * satisfy the test. */ protected boolean satisfiesOrientation (TiffIFD ifd, int [] values) { int spp = ifd.getNisoImageMetadata ().getOrientation (); for (int i = 0; i < values.length; i++) { if (spp == values[i]) { return true; } } return false; }
val.add (new DefaultMutableTreeNode ("Orientation: " + integerRepresentation (n, NisoImageMetadata.ORIENTATION),
n = niso.getOrientation(); if (n != NisoImageMetadata.NULL) { captureBuffer.append (margn3 + element ("mix:orientation",
useFileBuf = true; n = niso.getOrientation (); if (n != NisoImageMetadata.NULL) { fileBuf.append (margn4 + element ("mix:Orientation",
n = niso.getOrientation(); if (n != NisoImageMetadata.NULL) { final String[] orient = { "unknown",
_writer.println (margn2 + "YPrintAspectRatio: " + d); if ((n = niso.getOrientation ()) != NisoImageMetadata.NULL) { _writer.println (margn2 + "Orientation: " + addIntegerValue (n, NisoImageMetadata.ORIENTATION,
_writer.println (margn2 + "ChecksumValue: " + s); if ((n = niso.getOrientation ()) != NisoImageMetadata.NULL) { _writer.println (margn2 + "Orientation: " + addIntegerValue (n, NisoImageMetadata.ORIENTATION,
if (niso.getOrientation() == NisoImageMetadata.NULL) { return false;