Ruby Script for Image Saving
#1
Posted 13 January 2009 - 12:56 PM
For more insight into this i would like to mention that I am using Rmagick library for image conversion and saving and it seems it's not able to allocate memory properly. Can someone provide me help on this as i am into urgent need for such a script to finish off my project.
#2
Posted 14 January 2009 - 11:31 PM
well in my last post i asked for a ruby script to convert the fusion charts into image file.I would like to share with you that I have myself developed one such script finally and its working well . It use rmagick and imagemagick to do the same.But still it has got some rendering issues in case of Column3D chart. If any one needs that script feel free to contact me.
#5
Posted 27 January 2009 - 07:47 AM
#9
Posted 01 July 2009 - 09:06 PM
I followed the instructions here: http://rmagick.rubyf...q.html#imprereq
Downloaded and installed the delegates as mentioned there.
Also as per http://www.imagemagi...ses.php#windows, ( at the bottom ) it says,
"If you have any problems, install the Visual C++ 2008 Redistributable Package (x86) or Visual C++ 2008 Redistributable Package (x64)." for windows.
These two steps helped me install RMagick successfully.
FusionCharts was tested with and works with RMagick 2.9.0. It uses basic features of RMagick, so it might work with previous versions also.
I would recommend you to install ImageMagick successfully, test with command line
convert logo: logo.gif
Once ImageMagick is installed and tested, proceed to install RMagick.
I am not sure if this link will help, please see http://www.imagemagi...nstallation.php
regards,
Srividya
Srividya Sharma
#10
Posted 17 August 2009 - 11:40 PM
Thanks.
"Hi Guys,
well in my last post i asked for a ruby script to convert the fusion charts into image file.I would like to share with you that I have myself developed one such script finally and its working well . It use rmagick and imagemagick to do the same.But still it has got some rendering issues in case of Column3D chart. If any one needs that script feel free to contact me.
Rails Lover"
#12
Posted 28 September 2011 - 10:15 AM
I looked in to the latest export code of sample Rails 3 application.
as you told before , this version may use minimagick or image magick instead of Rmagick, but unfortunately still the given example app uses Rmagick only.
I am using that code in one of my app, but a major problem is that Rmagick is leaking memory and hence hangs my server, it takes almost 99% memory in all cases.
i tried several ways to get around this, but no luck.
I would like to request you to provide some sample code of export using mini magick or Rmagick.
or at least provide me some guideline that how i can use minimagick to convert the stream i got from export to an image.
Hi
The latest version of FusionCharts provides the complete ruby on rails framework for exporting the chart as image.
Please use that.
regards,
Srividya











