Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
Revert "removing Docsplit's default unsharp."
Browse files Browse the repository at this point in the history
This reverts commit e9153b7.
  • Loading branch information
jashkenas committed Sep 14, 2011
1 parent e9153b7 commit df32144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docsplit/image_extractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def convert(pdf, size, format, previous=nil)
common = "#{MEMORY_ARGS} -density #{@density} #{resize_arg(size)} #{quality_arg(format)}"
if previous
FileUtils.cp(Dir[directory_for(previous) + '/*'], directory)
result = `MAGICK_TMPDIR=#{tempdir} OMP_NUM_THREADS=2 gm mogrify #{common} \"#{directory}/*.#{format}\" 2>&1`.chomp
result = `MAGICK_TMPDIR=#{tempdir} OMP_NUM_THREADS=2 gm mogrify #{common} -unsharp 0x0.5+0.75 \"#{directory}/*.#{format}\" 2>&1`.chomp
raise ExtractionFailed, result if $? != 0
else
page_list(pages).each do |page|
Expand Down

0 comments on commit df32144

Please sign in to comment.