Closed karianpour closed 6 years ago
At the current time, aside from the way you mention, there isn't a way to create multiple thumbnails without reading the source input multiple times.
This has been requested in the past (issue #29), and if I have the chance to refactor Thumbnailator, I'll keep this in mind. For now, since this is a duplicate issue I'll be closing this one.
If you have additional comments feel free to add them to issue #29. Thank you for your input!
Is there a way to generate multiple thumbnails with different sizes without reading the file multiple times? I guess the code bellow reads the tmp_file 3 times and parse it 3 times.