There are projects like sorl-thumbnail, which is a great and easy-to-use django thumbnail application. But it also depends on PIL, so you cannot use it, this is bad news. The good news is, since in jython you have access to all java libs products, you can use one of the java code snippets available on the google: "java how to create sketches" (I have not tested them).
On the other hand, in my project, I used ImageMagick to convert the command line (option -resize or -thumbnail). It gives very high-quality thumbnails that are also optimized in terms of size if you use -strip with the -resize or -thumnbail option alone (unnecessary information is missing). The downside is that you need to work with files and then return thumnbail back to mysql.
Hi,
source share