Open joaobarcia opened 6 years ago
I don't think jpeg images are really supported. I wrote this a while back but the fact that the test suite doesn't try image/jpeg
tells me that it probably never really worked. Also windows, Cairo/Canvas has always had some weirdness.
Hi,
Thanks for the great lib. I'm able to generate png's without any issue but I need to generate jpegs. My code is:
If I change
return chartNode.getImageStream("image/png");
toreturn chartNode.getImageStream("image/jpeg");
I get the following error:
Any tips on what I might be doing wrong?
Thanks