All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jpedal.external.ImageHelper Maven / Gradle / Ivy

/*
 * ===========================================
 * Java Pdf Extraction Decoding Access Library
 * ===========================================
 *
 * Project Info:  http://www.idrsolutions.com
 * Help section for developers at http://www.idrsolutions.com/support/
 *
 * (C) Copyright 1997-2017 IDRsolutions and Contributors.
 *
 * This file is part of JPedal/JPDF2HTML5
 *
 @LICENSE@
 *
 * ---------------
 * ImageHelper.java
 * ---------------
 */
package org.jpedal.external;

import java.awt.image.BufferedImage;
import java.awt.image.Raster;
import java.io.IOException;

import org.jpedal.exception.PdfException;

@SuppressWarnings("ALL")
public interface ImageHelper {

    BufferedImage read(byte[] data) throws IOException;

    void write(BufferedImage image, String type, String file_name) throws IOException;

    BufferedImage read(String file_name);

    Raster readRasterFromJPeg(byte[] data) throws IOException;

    BufferedImage JPEG2000ToRGBImage(byte[] data, int w, int h, int pX, int pY) throws PdfException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy