franta-hg@17: /** franta-hg@17: * copy-image-resizer franta-hg@17: * Copyright © 2014 František Kučera (frantovo.cz) franta-hg@17: * franta-hg@17: * This program is free software: you can redistribute it and/or modify franta-hg@17: * it under the terms of the GNU General Public License as published by franta-hg@17: * the Free Software Foundation, either version 3 of the License, or franta-hg@17: * (at your option) any later version. franta-hg@17: * franta-hg@17: * This program is distributed in the hope that it will be useful, franta-hg@17: * but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@17: * GNU General Public License for more details. franta-hg@17: * franta-hg@17: * You should have received a copy of the GNU General Public License franta-hg@17: * along with this program. If not, see . franta-hg@17: */ franta-hg@17: package cz.frantovo.copyImageResizer; franta-hg@17: franta-hg@17: import java.io.InputStream; franta-hg@17: import java.io.OutputStream; franta-hg@17: franta-hg@17: /** franta-hg@17: * franta-hg@17: * @author Ing. František Kučera (frantovo.cz) franta-hg@17: */ franta-hg@17: public class NativeSingleImageResizer implements SingleImageResizer{ franta-hg@17: franta-hg@17: @Override franta-hg@17: public boolean resize(InputStream input, OutputStream output, SizeSpecification size, JavaSingleImageResizer.ImageFormat outputFormat) throws ResizeException { franta-hg@17: /** franta-hg@17: * TODO: call native tool like convert from ImageMagick franta-hg@17: */ franta-hg@17: throw new UnsupportedOperationException("Not implemented yet."); franta-hg@17: } franta-hg@17: franta-hg@17: franta-hg@17: franta-hg@17: }