<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBitmapImageRep/tiffRepresentationOfImageReps(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBitmapImageRep(cm)TIFFRepresentationOfImageRepsInArray:"
  },
  "title" : "tiffRepresentationOfImageReps(in:)"
}
-->

# tiffRepresentationOfImageReps(in:)

Returns a TIFF representation of the specified images.

```
class func tiffRepresentationOfImageReps(in array: [NSImageRep]) -> Data?
```

## Parameters

`array`

An array containing objects representing bitmap image representations.

## Return Value

A data object containing a TIFF image representation.

## Discussion

This method uses the compression returned by [`getCompression(_:factor:)`](/documentation/AppKit/NSBitmapImageRep/getCompression(_:factor:)) (if applicable). If a problem is encountered during generation of the TIFF, this method raises an [`NSTIFFException`](/documentation/AppKit/NSTIFFException) or an [`NSBadBitmapParametersException`](/documentation/AppKit/NSBadBitmapParametersException).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)