Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8044535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:15:41+00:00 2026-06-05T05:15:41+00:00

I am fairly new to using carrierwave. Currently I can upload and perform simple

  • 0

I am fairly new to using carrierwave. Currently I can upload and perform simple actions on images, such as resize_to_fit.
Now I need to change my name-uploader.rb file, so when I upload a PDF file, it automatically converts the pdf to a multiple image files (PNG/JPEG). One main thing I want to understand is how can I check the type of the file uploaded? I know I can set a list of file types to be accepted, I have already set a list of accepted file-types.
Now when a pdf is uploaded I want it to be converted to multiple images, and for each image a new model is created with certain data and the image.

  • How to check the type of the file uploaded?
  • How to convert the PDF into multiple image(PNG/JPEG/etc) files?
  • Can I create models, or call an action from another controller to create the models using the generated pngs inside the uploader.rb file?
  • Is Carrierwave the tool for this job or should I use another gem to upload files?

I have used the convert => "png" , but it was giving me an error.

Note: I have included the RMagic is included at the top of the file.

Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T05:15:44+00:00Added an answer on June 5, 2026 at 5:15 am

    Try http://documentcloud.github.com/docsplit/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a fairly new site where I upload images using the blobstore and
I'm currently launching a programme using subprocess.Popen(cmd, shell=TRUE) I'm fairly new to Python, but
I am fairly new to css3 using selectors (or simple css selectors in general)
I'm fairly new to using JSON (as opposed to XML) and am currently working
I'm using jquery validation plugin (which im fairly new to) and I need the
I am fairly new to using SSRS and I would like to create a
I'm fairly new to using MSSQL and have run into a weird problem. Given
I'm fairly new to Azure and I'm using Blob storage to store some binary
I'm fairly new to database programming in WinForms, and have been using BindingSource, DataSet,
I'm fairly new to both Django and Python. This is my first time using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.