Skip to content

talk-to/NSData-TDTImageMIMEDetection

Repository files navigation

NSData+TDTImageMIMEDetection

Category on NSData that can determine if it is a representaion of a JPEG, PNG or GIF image.

Usage

To run the tests; clone the repo, and run pod install from the Tests directory first.

Installation

NSData+TDTImageMIMEDetection is available through CocoaPods, to install it simply add the following line to your Podfile:

pod 'NSData+TDTImageMIMEDetection'

and then run :

$ pod install

Alternatively, import all the source files inside the NSData+TDTImageMIMEDetection/ subdirectory into your project.

Issues and Feedback

To report any issues with the library, create an issue on Github.

For any other feedback or suggestion, contact the maintainers (listed below).

Maintainers

Contributing

Pull Requests are welcome!

Release Checklist for Maintainers

  • Update the CHANGELOG.

  • Modify the version in the Podspec.

  • Update the version of the category used by the Tests

      cd Tests/ && pod update --no-repo-update
    
  • Run the tests.

  • Commit your changes.

  • rake publish.

License

NSData-TDTImageMIMEDetection is available under BSD 3-clause License.

About

Category on NSData to determine the MIME type of the image it represents

Resources

License

Stars

Watchers

Forks

Packages

No packages published