Instantly share code, notes, and snippets.

@illuzor /Resizer.java Secret
Created Sep 3, 2018

Embed
What would you like to do?
BufferedImage previewImage = Scalr.resize(image, previewWidth, previewHeight);
ImageIO.write(previewImage, imageFormat, previewFile);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment