         }
     }
     
-    class func imageToPDF(image: UIImage, password: String? = nil, scaleFactor: CGFloat = 1) throws -> Data? {
+    class open func imageToPDF(image: UIImage, password: String? = nil, scaleFactor: CGFloat = 1) throws -> Data? {
         
         guard scaleFactor > 0.0 else {
             return nil

        }
    }
    
    class func isValidPDF(fileURL: URL) -> Bool {
        return autoreleasepool { () -> Bool in
            do {
                let data = try Data(contentsOf: fileURL)

        return backgroundImage!
    }
    
    class open func hasPassword(fileURL: URL) -> Bool {
        return autoreleasepool { () -> Bool in
            do {
                let data = try Data(contentsOf: fileURL)
                return hasPassword(input: data)
            } catch {
                return false
            }
        }
    }
    
    class open func hasPassword(input: Data) -> Bool {
        return autoreleasepool { () -> Bool in
            let dataProvider = CGDataProvider(data: input as CFData)
            if let provider = dataProvider {
