edu.jhu.tmaj.util
Class JpegCompressionUtil

java.lang.Object
  extended by edu.jhu.tmaj.util.JpegCompressionUtil

public final class JpegCompressionUtil
extends java.lang.Object

This plugin creates a 100 pixel wide 8-bit indexed color version of the active image. Based on: http://rsbweb.nih.gov/ij/plugins/download/Thumbnail_Maker.java


Constructor Summary
JpegCompressionUtil()
           
 
Method Summary
static void createCompressedJpeg(java.io.File inputFile, java.io.File outputFile, double scale, int quality)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpegCompressionUtil

public JpegCompressionUtil()
Method Detail

createCompressedJpeg

public static void createCompressedJpeg(java.io.File inputFile,
                                        java.io.File outputFile,
                                        double scale,
                                        int quality)