     
     convenience init(inputImage:UIImage)
     {
-        var scaledImage:UIImage = UIImage(CGImage: inputImage.CGImage, scale: CGFloat(0.3), orientation: inputImage.imageOrientation)!
-        
-        self.init(inputImage:scaledImage, threshold:2)
+        self.init(inputImage:inputImage, threshold:2)
     }
     
     init(inputImage:UIImage, threshold:NSInteger)

    
    private func analyzeImage(inputImage:UIImage) -> Dictionary<String, UIColor>
    {
        var imageColors:NSCountedSet = NSCountedSet()
        var backgroundColor:UIColor = self.findEdgeColor(inputImage,colors:&imageColors);
        var primaryColor:UIColor?
        var secondaryColor:UIColor?
        var detailColor:UIColor?
        
        var darkBackground:Bool = backgroundColor.pc_isDarkColor()

        //self.findTextColors(imageColors, primaryColor:&primaryColor, secondaryColor:&secondaryColor, detailColor:&detailColor, backgroundColor:&backgroundColor)
            
        if primaryColor == nil {
            println("missed primary")
            if darkBackground {
                primaryColor = UIColor.whiteColor()
            } else {
                primaryColor = UIColor.blackColor()
            }
        }
        
        if secondaryColor == nil {
            println("missed secondary")
            if darkBackground {
                secondaryColor = UIColor.whiteColor()
            } else {
                secondaryColor = UIColor.blackColor()
            }
        }
        
        if detailColor == nil {
            println("missed detail")
            if darkBackground {
                detailColor = UIColor.whiteColor()
            } else {
                detailColor = UIColor.blackColor()
            }
        }

        var dict:Dictionary = Dictionary<String, UIColor>()
        
        dict[self.kAnalyzedBackgroundColor] = backgroundColor
        dict[self.kAnalyzedPrimaryColor]    = primaryColor
        dict[self.kAnalyzedSecondaryColor]  = secondaryColor
        dict[self.kAnalyzedDetailColor]     = detailColor
        
        return dict
    }
    
    private func findEdgeColor(inputImage:UIImage, inout colors:NSCountedSet) -> UIColor
    {
        
        var imageRep:CGImageRef = image.CGImage;

        return proposedEdgeColor!.color;
    }
    
    private func findTextColors(imageColors:Array<PCCountedColor>, inout primaryColor:UnsafeMutablePointer<UIColor>, inout secondaryColor:UnsafeMutablePointer<UIColor>, inout detailColor:UnsafeMutablePointer<UIColor>, inout backgroundColor:UIColor)
    {
        var curColor:UIColor
        
        var sortedColors:NSMutableArray = NSMutableArray(capacity: imageColors.count)
        var findDarkTextColor:Bool = backgroundColor.pc_isDarkColor()
        
        //for countedColor: PCCountedColor in imageColors as [PCCountedColor] {
        for index in 0...imageColors.count-1 {
            
            var countedColor:PCCountedColor = imageColors[index]
            
            var curColor:UIColor = countedColor.color.pc_colorWithMinimumSaturation(0.15)
            
