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

     - returns: PDF's binary data (NSData)
     */
    @warn_unused_result
    public class func generate(imagePath: String) throws -> NSData {
        return try generate([imagePath])
    }
    
    /**

     - returns: PDF's binary data (NSData)
     */
    @warn_unused_result
    public class func generate(images: [UIImage], dpi: DPIType = .Default) throws -> NSData {
        return try generate(PDFPage.pages(images), dpi: dpi)
    }
    
    /**
