      
      - throws: A `PDFGenerateError` thrown if some error occurred.
      */
-    public class func generate(image: UIImage, outputPath: String) throws {
-        try generate([image], outputPath: outputPath)
+    public class func generate(image: UIImage, outputPath: String, dpi: DPIType = .Default) throws {
+        try generate([image], outputPath: outputPath, dpi: dpi)
     }
     
     /**

     - returns: PDF's binary data (NSData)
     */
    @warn_unused_result
    public class func generate(views: [UIView]) throws -> NSData  {
        return try generate(PDFPage.pages(views))
    }
    
    /**

     - returns: PDF's binary data (NSData)
     */
    @warn_unused_result
    public class func generate(pages: [PDFPage], dpi: DPIType = .Default) throws -> NSData {
        guard !pages.isEmpty else {
            throw PDFGenerateError.EmptyPage
        }
        return try outputToData { try renderPages(pages, dpi: dpi) }
    }

    /**
