Sep 27
Flex Image Converter using Ruby on Rails and RMagick
For this app I took the file transfer sample from the Flex RoR SDK and added some some code that uses Rmagick to do image conversions.
With this app you can:
- Upload multiple image files (limit of 10 MB and 8 uploads per session).
- Use the combo boxes to select the image format that you want to convert to.
-
Download the new images to your computer as a .zip file.
That’s about it. Here is the link: http://flexonrails.net/imageconverter/public/
I plan to add this app to the Flex RoR SDK in a few days. Please let me know if you encounter any bugs.


October 2nd, 2006 at 10:48 am
This is a pretty nice demonstration. I was able to upload and download files. But the conversion part didn’t seem to work. I uploaded a .jpg file and, no matter which format I selected, it was returned as a .jpg.
The reversed download progress bar is a clever touch, but when I first saw it I thought it was a bug.
October 2nd, 2006 at 2:46 pm
[...] flexonrails.net has an example of a Flex and Rails image converter that uses Rmagick to convert images into numerous file formats (jpg, png, bmp, gif, pdf, eps). You can upload multiple files convert them and then download the converted files in a zip file, there’s also a progress bar for the upload and download progress. [...]
October 2nd, 2006 at 8:29 pm
Hi William,
Thank you for the comment. I have not been able reproduce the problem with the conversion not working.
Has anyone else encountered this issue?
Derek
November 7th, 2006 at 3:15 pm
Everything worked fine with me, while I’m looking forward to seeing this example added to the SDK, I would love to see a flex upload progress bar which works with the file_column plugin.
http://www.kanthak.net/opensource/file_column/
file_column is a great plugin and probably one of the most used plugin for uploading. However it lacks of a decent progress bar. Flex seems like the perfect solution to deal with that. Also, one might want to use Flex for the upload screen but might want to use a normal rhtml view to display the uploaded content, it would be good to see how Flex can be use with normal views instead of just replacing the standard view.
Thanks,
Matt
November 28th, 2006 at 12:23 am
I love what you’ve done here, and really looking forward to it’s addition to the SDK. Is that going to happen anytime soon? Or in the meantime, can you just open the source up to be viewable?
February 5th, 2007 at 1:50 pm
I don’t know if the source is available somewhere, but i’m really intrested in the conversion to PDF. I dont know if its already added to the SDK i’m downloading it right now. if its not can you please mail me the source or give us some hints or anything
Thank you!
February 13th, 2007 at 1:54 am
The app worked fine and is really impressive. Just a minor problem: when using a file which name has special characters (like á, ê or ç), the name is correctly displayed in the close combo box, but not when it is open (I mean, on the list from the combo the special characters are omitted).
May 16th, 2007 at 10:58 am
Cool app! But when I try to upload bigger jpg’ s – like 2-3 Mb the upload hangs every time