2008-08-26, 08:34 AM
It's common practice to sharpen thumbnail images. They looks much better then. You can do it with this trivial code:
Probably this can be also done in the plugin assigned to "upload_attachment_do_insert" hook.
// sharpening
$matrix = array(array(-1, -1, -1), array(-1, 24, -1), array(-1, -1, -1));
imageconvolution($thumbim, $matrix, 16, 0);
Probably this can be also done in the plugin assigned to "upload_attachment_do_insert" hook.