Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

Concorde

Download and decode progressive JPEGs on iOS.

Subscribe to updates I use Concorde


Statistics on Concorde

Number of watchers on Github 2
Number of open issues 0
Main language Objective-C
Open pull requests 0+
Closed pull requests 0+
Last commit about 3 years ago
Repo Created about 3 years ago
Repo Last Updated over 2 years ago
Size 16.1 MB
Organization / Authorbadoo
Contributors2
Page Updated
Do you use Concorde? Leave a review!
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating Concorde for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Concorde

Version License Platform Build Status Coverage Status

This is a framework for downloading and decoding progressive JPEGs easily on iOS and OS X. It uses libjpeg-turbo as underlying JPEG implementation. We vendor version 1.4.0 of the static library from libjpeg-turbo's official release for convenience.

Usage

Simply install it via CocoaPods:

pod 'Concorde'

and then use CCBufferedImageView which progressively downloads and shows an image:

let imageView = CCBufferedImageView(frame: ...)
if let url = NSURL(string: "http://example.com/yolo.jpg") {
    imageView.load(url)
}

If you use Contentful, install the subspec:

pod 'Concorde/Contentful'

and replace your usage of UIImageView with CCBufferedImageView to automatically use progressive JPEGs if you have been using the UIImageView category before. This will work regardless of the original format of your files due to the image transformation functionality of the delivery API.

Manual integration

You can also integrate Concorde as a subproject or download a binary build from the releases section. Please note that those are only provided for iOS at the moment.

License

Copyright (c) 2015 Contentful GmbH. See LICENSE for further details.

CCBufferedImageDecoder is derived from WebKit, see comments in its file for further copyright details.

The examples use http://pooyak.com/p/progjpeg/, which artificially slows the connection down to 0.5 Kilobyte/second to demonstrate the differences between regular and progressive JPEGs.

Concorde questions on Stackoverflow (View All Questions)
  • Concorde TSP solver - How to get the second best solution?
  • Concorde TSP algorithm compilation in Windows 7
  • Concorde TSP Solver - Asymmetric Instances
  • How to add additional constraints to Concorde TSP solver
  • Can't build Concorde TSP solver on Mac (Yosemite)
  • How to improve the quality of the `concorde` TSP solver? Am I misusing it?
  • How to build and run Concorde TSP solver
Concorde list of languages used
Other projects in Objective-C