Skip to content

Commit

Permalink
adjust mudraw thumbnail gen
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzido committed Oct 16, 2015
1 parent 017e30a commit f2bb3d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/tabula_job_executor/jobs/detect_tables.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def perform
page_index = page.getPageNumber

at( (page_count + page_index) / 2, page_count, "auto-detecting tables...") #starting at 50%...
changed

cells = Java::TechnologyTabulaExtractors::SpreadsheetExtractionAlgorithm.findCells(page.getHorizontalRulings, page.getVerticalRulings)
areas = sea.findSpreadsheetsFromCells(cells)
Expand Down
2 changes: 1 addition & 1 deletion lib/thumbnail_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def generate_thumbnails!
class MUDrawThumbnailGenerator < AbstractThumbnailGenerator

def initialize(pdf_filename, output_directory, sizes=[2048, 560], mudraw='/usr/local/bin/mudraw')
super(pdf_filename, output_directory, sizes, pages)
super(pdf_filename, output_directory, sizes)
@mudraw = mudraw
end

Expand Down

0 comments on commit f2bb3d1

Please sign in to comment.