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