I uploaded a lot of images and resized them using RMagick and everything
Now I need to resize the existing images to some different dimenstion.
existing controller all the processing starts after I have
params[:image][:data] in my controller.
My question is how do I get the image data when I am reading the file.
anyone have an existing code to read an image and get something similar
params[:image][:data] ready for processsing. I knwo how to read an ASCII
file but don’t know how to read an image file.