There are various library for manipulating image,one of them is GD library. In this post i quickly show how to resize an image or generate thumbnail of image using GD2. Basic steps as follows First import image Resize an import image to desired size Export Image to desired file above code is extracted from rchart. …
Category: chart
Rchart is ruby port of the slick pChart charting library. Using Rchart we can develop various format of chart. Line Chart Cubic Curve Chart Bar Chart Pie Chart Filled Line Chart Stacked Bar Chart And many more ,You can checkout examples of rchart.Some of examples are listed below. Rchart gem require ruby-gd gem and GD library. To install rchart gem on ubuntu following packages needed. sudo apt-get install libgd-ruby sudo apt-get install libpng-dev sudo apt-get install libgd2-xpm-dev sudo gem install …