Compressing images after upload

Question!

I have uploaded images using carrierwave and it is working fine. I have use delayed jobs in my project for my background task .I am looking for something so that i can compress my images when delayed jobs works I have no idea because i am new to ruby on rails .Can anyone tell me any gem or something but a detailed viw how to basically compress images using delayed jobs and carrierwave



Answers
By : Sunny


You can use the gem Paperclip, it is quite easy to use and you can create your own processor to compress (or other operations) the images: https://github.com/thoughtbot/paperclip#image-processor



This video can help you solving your question :)
By: admin