Q:

Use convert method of imagemagick in ruby on rails application

I used convert /home/icicle/Desktop/images_284.tif /home/icicle/Desktop/images_284.jpg  from my terminal and it converted the image to jpg format. 
But when I used it in my application it gave me the error NoMethodError - undefined methodconvert' for #:`
How can I use the convert method in my ruby on rails application? 

A:

This guy looks like answer your question: https://stackoverflow.com/a/17426622/159995. 
Or you can just use system('convert /home/icicle/Desktop/images_284.tif /home/icicle/Desktop/images_284.jpg')

