Topic: Gruff graphs: Unknown Format PNG exception
Does anyone else have this problem? If I change the default format to jpg in the base.rb:440 file it works fine, but I think that png would produce a much smaller file due to the simplicity of the graphs. There is a good chance that I am missing a library, but since everything works fine with the jpg format I am not sure what library it would be.
Here is the code change
# Return the graph as a rendered binary blob.
def to_blob(fileformat='jpg') #used to be PNG
return @base_image.to_blob do
self.format = fileformat
Thanks for the help.