# File lib/fusioncharts/exporter/generator.rb, line 20
    def initialize(image_data,width,height,bgcolor)
     # @image_data=image_data
     # @width=width
     # @height=height
     # @bgcolor=bgcolor
      @pages_data=[]
      @pageIndex=0
      if(image_data!=nil and width!=nil and height!=nil)
        set_bitmap_data(image_data, width, height, bgcolor)
      else 
        # raise error
      end
    end