Declared in DTImage+HTML.h

Overview

Category used to have the same method available for unit testing on Mac on iOS.

Instance Methods

dataForPNGRepresentation

Retrieve the NSData representation of a UIImage. Used to encode UIImages in DTTextAttachments.

- (NSData *)dataForPNGRepresentation

Return Value

The NSData representation of the UIImage instance receiving this message. Convenience method for UIImagePNGRepresentation().

Declared In

DTImage+HTML.h