iFrankWu / thumbnailator

Automatically exported from code.google.com/p/thumbnailator
Other
0 stars 0 forks source link

Support flexible inputs and outputs #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem
---------------
Thumbnailator does not currently have a simple way to support differing inputs 
and outputs, i.e. thumbnails created from image files can only be output to 
files.

Solution
---------------
The `ThumbnailTask` class is designed to accept an input and output and perform 
processing to create thumbnails.

By creating a new `ThumbnailTask` along with input and output interfaces which 
can plug into that new `ThumbnailTask`, it would be possible to support 
differing input and output formats.

This approach has an additional benefit that the existing code for processing 
thumbnails (such as the `Thumbnailator.createThumbnail(ThumbnailTask)` method) 
can be used as is.

Complications
---------------
No major complications can be found.

Original issue reported on code.google.com by coobird...@gmail.com on 23 Dec 2010 at 4:36

GoogleCodeExporter commented 9 years ago
Preliminary work has begun, and is expected to be part of the Thumbnailator 
0.3.0 release.

Original comment by coobird...@gmail.com on 23 Dec 2010 at 4:39

GoogleCodeExporter commented 9 years ago
This has been implemented in Thumbnailator 0.3.0.

Original comment by coobird...@gmail.com on 9 Jan 2011 at 10:24