docsplit-paperclip-processor icon indicating copy to clipboard operation
docsplit-paperclip-processor copied to clipboard

Extract thumbnils /images

Open cis-deepesh opened this issue 13 years ago • 1 comments

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"

cis-deepesh avatar Sep 18 '12 14:09 cis-deepesh

Firstly, your attachment must be a pdf file. And then try:

:cover => {
        :format => :jpg,
        :pages => [1],
        :size => '500x',
        :processors => [:docsplit_image]
      },

tienle avatar Sep 19 '12 03:09 tienle