docsplit-paperclip-processor
docsplit-paperclip-processor copied to clipboard
Extract thumbnils /images
While I am extracting images getting error "There was an error extracting images from anand20120918-29774-lq7q44"
Also I didn't found any info to extract images on wiki.
ModeL;
has_attached_file :document, :path => ":rails_root/public/system/documents/:id/:style/:filename", # :storage => :s3, # :s3_credentials => "#{Rails.root}/config/s3.yml", :styles => { :pdf => { :format => "png", :processors => [:docsplit_image] } }, :url => "/system/documents/:id/:style/:filename"
Firstly, your attachment must be a pdf file. And then try:
:cover => {
:format => :jpg,
:pages => [1],
:size => '500x',
:processors => [:docsplit_image]
},