My firewall blocks file of type PNG and JPEG files do not show a good quality.
The jFreeChart generates graphics in GIF?
Graphics in GIF?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Not directly, but you should be able to create a BufferedImage containing the chart then use ImageIO to write the image in GIF format (I'm assuming there's a GIF encoder for ImageIO out there somewhere - let me know if I'm wrong).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Yes, that is true. Or find out WTF PNG files are being blocked by the firewall in the first place. Then let GIF die as it should. Have a good weekend!Taqua wrote:I'd rather pump up the quality of the JPG encoding (to 0.99 or so) than to go for a 256-color fileformat.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA