ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter2/IscreamChartWriter.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter2/IscreamChartWriter.java (file contents):
Revision 1.2 by pjm2, Sat Feb 3 17:26:07 2001 UTC vs.
Revision 1.3 by pjm2, Sat Feb 3 19:14:37 2001 UTC

# Line 12 | Line 12 | public class IscreamChartWriter {
12      }
13      
14      // Write the gif file.
15 <    public static void writeChart(BufferedImage img, String filename) {
15 >    public static void writeChart(BufferedImage img, File filename) {
16          try {
17 <            FileOutputStream fos = new FileOutputStream(new File(filename));
17 >            FileOutputStream fos = new FileOutputStream(filename);
18              GifEncoder encoder = new GifEncoder(img, fos);
19              
20              encoder.encode();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines