hi
how to creeate IE 6 friendly png graphics??
how to creeate IE 6 friendly png graphics??
-
- Posts: 2
- Joined: Wed Nov 24, 2010 4:46 pm
- antibot: No, of course not.
- Contact:
Re: how to creeate IE 6 friendly png graphics??
The first 2 hits from google were these
http://homepage.ntlworld.com/bobosola/
http://christopherschmitt.com/2007/10/3 ... nd-beyond/
http://homepage.ntlworld.com/bobosola/
http://christopherschmitt.com/2007/10/3 ... nd-beyond/
Re: how to creeate IE 6 friendly png graphics??
ChartUtilities contains two different methods to generate a PNG file from a chart
and
Since the IE6 problem seems to be related to png transparency, you should try using either the first method, or the second method with the encodeAlpha argument set to false
Code: Select all
public static void saveChartAsPNG(java.io.File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info)
throws java.io.IOException
Code: Select all
public static void saveChartAsPNG(java.io.File file,
JFreeChart chart,
int width,
int height,
ChartRenderingInfo info,
boolean encodeAlpha,
int compression)
throws java.io.IOException
-
- Posts: 2
- Joined: Wed Nov 24, 2010 4:46 pm
- antibot: No, of course not.
- Contact:
Re: how to creeate IE 6 friendly png graphics??
Thanks skunk
I'll try and tell you about the results...............thanks a lot
I'll try and tell you about the results...............thanks a lot