Contents

init(data:)

Returns a representation of an image initialized with the specified EPS data.

Declaration

init?(data epsData: Data)

Parameters

  • epsData:

    The EPS data representing the desired image.

Return Value

The initialized NSEPSImageRep object or nil if the object could not be initialized

Discussion

The size of the receiver is set using the bounding box information specified in the EPS header comments.