Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnailator using Image instead of BufferedImage as input #141

Open
FranPrin opened this issue Mar 19, 2019 · 0 comments
Open

Thumbnailator using Image instead of BufferedImage as input #141

FranPrin opened this issue Mar 19, 2019 · 0 comments

Comments

@FranPrin
Copy link

I have an Image in java and I want to use the Thumbnailator class to resize it.

But it seems that the Thumbnailator class does not accept Images and has no method for converting Images to BufferedImages (which are accepted instead).

I thought that I probably am missing something because this seems like an odd predicament that many people would likely find. I could write my own method to convert it to a BufferedImage but I first thought to ask if there is a way the Thumbnailator can do so?

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants