<commit_before>package cafe.test;

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.image.BufferedImage;
import java.io.FileOutputStream;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JScrollPane;

import cafe.image.ImageIO;
import cafe.image.core.ImageMeta;
import cafe.image.core.ImageType;
import cafe.image.options.JPEGOptions;
import cafe.image.options.PNGOptions;
import cafe.image.options.TIFFOptions;
import cafe.image.png.Filter;
import cafe.image.tiff.TiffFieldEnum.PhotoMetric;
import cafe.image.tiff.TiffFieldEnum.Compression;

/**
 * Temporary class for testing image readers
 */
public class TestImageReader {

	 public static void main(String args[]) throws Exception
	 {
		  long t1 = System.currentTimeMillis();
		  BufferedImage img = ImageIO.read(args[0]);
		  long t2 = System.currentTimeMillis();
		
		  System.out.println("decoding time "+(t2-t1)+"ms");
			<commit_msg>Added dumping info for BufferedImage<commit_after>package cafe.test;

import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileOutputStream;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JScrollPane;

import cafe.image.ImageIO;
import cafe.image.core.ImageMeta;
import cafe.image.core.ImageType;
import cafe.image.options.JPEGOptions;
import cafe.image.options.PNGOptions;
import cafe.image.options.TIFFOptions;
import cafe.image.png.Filter;
import cafe.image.tiff.TiffFieldEnum.PhotoMetric;
import cafe.image.tiff.TiffFieldEnum.Compression;

/**
 * Temporary class for testing image readers
 */
public class TestImageReader {

	 public static void main(String args[]) throws Exception
	 {
		  long t1 = System.currentTimeMillis();
		  BufferedImage img = ImageIO.read(new File(args[0]));
		  System.out.println(img.getColorModel());
		  System.out.println(img.getRaster());
		  System.out.println(img.getSampleModel());
		  long t2 = System.currentTimeMillis();
		
		  System.out.println("decoding time "+(t2-t1)+"ms");
			
{'fraction_non_alphanumeric': 0.11702127659574468, 'fraction_numerical': 0.004625346901017576, 'mean_word_length': 5.075842696629214, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7039588', 'n_tokens_mistral': 729, 'n_tokens_neox': 674, 'n_words': 138}