Skip to content

Instantly share code, notes, and snippets.

View haideralipunjabi's full-sized avatar

Haider Ali Punjabi haideralipunjabi

View GitHub Profile
@haideralipunjabi
haideralipunjabi / QualityUtils.java
Created March 5, 2017 15:38
The CalculateQualityIndexes implements a method that calculates the index for different sections of photo qualities, and returns them as an array.
/**
* <h1>Calculate Index of Photo Resolutions</h1>
* The CalculateQualityIndexes implements a method
* that calculates the index for different sections
* of photo qualities, and returns them as an array.
* <h2>Example usage:</h2>
* <p> Calculating the indexes for High, Medium and Low
* resolution photos fetched as JSONArray from Facebook
* GraphAPIs images field of photo endpoint,
* and stored in a LinkedHashMap.
@haideralipunjabi
haideralipunjabi / ExifCaption.java
Last active January 27, 2017 13:58
Class used to extract exif information from a given text
/**
* ExifCaption
* Class used to extract exif information from a given text
* @param ISO the ISO info
* @oaram Aperture the Aperture info
* @param ShutterSpeed the Shutter Speed info
* @param DeviceName the DeviceName info
* @oaram caption the String from which the EXIF info is to be extracted
*/