[Rabbit-dev] JPEG
Robert Olofsson
robert.olofsson at khelekore.org
Tue Oct 27 18:54:42 CET 2009
On Tue, 27 Oct 2009 09:52:55 -0400
Rick Leir <rickleir at leirtech.com> wrote:
> Maybe I am missing something, but is it not easier to compress a JPEG
> using Java 2D libraries? Something like:
That is indeed simple, but there are a few reasons why rabbit does not use it.
1) When rabbit came into existence there were no such classes
2) The JPEGImageEncoder used to be very slow (probably better now)
3) The JPEGImageEncoder used to be unstable (= jvm crash)
4) Resource usage of the proxy can grow very much if there are many
concurrent image conversions.
But you are right to query this and I actually do think that it is
time to revisit the issue.
Writing a java class that runs at most X concurrent conversions is not
that hard and could very well be a good alternative for forking a convert
process.
/robo
More information about the Rabbit-dev
mailing list