Java Servlet framework that does things like rencoding images to preferred format etc.
Posted
by
mP
on Stack Overflow
See other posts from Stack Overflow
or by mP
Published on 2011-03-01T15:00:58Z
Indexed on
2011/03/01
23:25 UTC
Read the original article
Hit count: 176
Are there any frameworks/libraries that provide servlets/filters etc that handle reencoding on the fly of images.
- interpret the accept headers and output the file, reencoding into the new format if necessary by checking the actual format of the original image file.
- provide a low and high quality version of an image.
- re encode an image into new dimensions. width and height parameters might query string parameters.
I could create versions of the file in all the formats, at upload time but the seems overkill. I would rather lazily create the rencoded file and stick it in a cache if it gets served again etc.
© Stack Overflow or respective owner