       @zoom * exportZoom * @imageSize.w,
       @zoom * exportZoom * @imageSize.h
 
-    canvas.toDataURL options.type, options.quality
+    canvas.toDataURL exportOptions.type, exportOptions.quality
 
   getImageState: ->
     src: @imageSrc

        @imageSize.h * @zoom < @previewSize.h
      croppedSize.h = @imageSize.h * @zoom

    exportZoom = if options.originalSize then 1 / @zoom else @options.exportZoom

    canvas = $ '<canvas />'
      .attr

  isZoomable: ->
    @zoomer.isZoomable()

  getCroppedImageData: (exportOptions) ->
    return null unless @imageSrc

    exportDefaults =
      type: 'image/png'
      quality: .75
      originalSize: false
    exportOptions = $.extend {}, exportDefaults, exportOptions

    croppedSize =
      w: @previewSize.w
