<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGPDFDataFormat",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGPDFDataFormat"
  },
  "title" : "CGPDFDataFormat"
}
-->

# CGPDFDataFormat

The encoding format of PDF data.

```
enum CGPDFDataFormat
```

## Topics

### Constants

[`CGPDFDataFormat.raw`](/documentation/CoreGraphics/CGPDFDataFormat/raw)

The data stream is not encoded.

[`CGPDFDataFormat.jpegEncoded`](/documentation/CoreGraphics/CGPDFDataFormat/jpegEncoded)

The data stream is encoded in JPEG format.

[`CGPDFDataFormat.JPEG2000`](/documentation/CoreGraphics/CGPDFDataFormat/JPEG2000)

The data stream is encoded in JPEG-2000 format.



---

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)