Creating a cut-down version of ImageJ for use in applets

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Creating a cut-down version of ImageJ for use in applets

Aneesha Bakharia
Hi

I've been using the imagej jar for a few years in web applications(Java and
Coldfusion) to perform routine image processing tasks such as thumbnail
creation, cropping, etc.

My recent attention has turned to creating a very simple minamilist applet
that can perform some basic image processing tasks. I have been using imagej
for this but the 1.3Mb jar is too large for my use. The only features that I
need are lighten, darken, flip, invert, crop, rotate, smooth and sharpen. I
need some advice on home easy it would be to create a subset of imagej for
use in applets.

Many thanks.

--
Aneesha
Reply | Threaded
Open this post in threaded view
|

Re: Creating a cut-down version of ImageJ for use in applets

Mohana Ramaratnam
Hi Aneesha,

We use a subset of the ij jar for our applet. All you have to do is
identify the required classes and create the smaller jar.

Mohana

Aneesha Bakharia wrote:

>Hi
>
>I've been using the imagej jar for a few years in web applications(Java and
>Coldfusion) to perform routine image processing tasks such as thumbnail
>creation, cropping, etc.
>
>My recent attention has turned to creating a very simple minamilist applet
>that can perform some basic image processing tasks. I have been using imagej
>for this but the 1.3Mb jar is too large for my use. The only features that I
>need are lighten, darken, flip, invert, crop, rotate, smooth and sharpen. I
>need some advice on home easy it would be to create a subset of imagej for
>use in applets.
>
>Many thanks.
>
>--
>Aneesha
>
>  
>
Reply | Threaded
Open this post in threaded view
|

Re: Creating a cut-down version of ImageJ for use in applets

ctrueden
Hi,

One easy way to identify the classes that will be required is to launch
ImageJ (or your alternate application) from the command line with the
"-verbose" command line flag. E.g.:

   ./jre/bin/java -mx512m -verbose -cp ij.jar ij.ImageJ > out.txt

Perform all of the operations you plan to use within ImageJ, then quit
the program. Open up the out.txt file and strip out lines not starting
with "[Loaded ij." The remaining lines represent a list of classes that
were required at some point during the program execution, and should
probably be bundled with your smaller JAR.

-Curtis

Mohana Ramaratnam wrote:

> Hi Aneesha,
>
> We use a subset of the ij jar for our applet. All you have to do is
> identify the required classes and create the smaller jar.
>
> Mohana
>
> Aneesha Bakharia wrote:
>
>> Hi
>>
>> I've been using the imagej jar for a few years in web
>> applications(Java and
>> Coldfusion) to perform routine image processing tasks such as thumbnail
>> creation, cropping, etc.
>>
>> My recent attention has turned to creating a very simple minamilist
>> applet
>> that can perform some basic image processing tasks. I have been using
>> imagej
>> for this but the 1.3Mb jar is too large for my use. The only features
>> that I
>> need are lighten, darken, flip, invert, crop, rotate, smooth and
>> sharpen. I
>> need some advice on home easy it would be to create a subset of
>> imagej for
>> use in applets.
>>
>> Many thanks.
>>
>> --
>> Aneesha
>
Reply | Threaded
Open this post in threaded view
|

Re: Creating a cut-down version of ImageJ for use in applets

Aneesha Bakharia
Thanks - that is a big help.

Aneesha

On 4/20/06, Curtis Rueden <[hidden email]> wrote:

>
> Hi,
>
> One easy way to identify the classes that will be required is to launch
> ImageJ (or your alternate application) from the command line with the
> "-verbose" command line flag. E.g.:
>
>    ./jre/bin/java -mx512m -verbose -cp ij.jar ij.ImageJ > out.txt
>
> Perform all of the operations you plan to use within ImageJ, then quit
> the program. Open up the out.txt file and strip out lines not starting
> with "[Loaded ij." The remaining lines represent a list of classes that
> were required at some point during the program execution, and should
> probably be bundled with your smaller JAR.
>
> -Curtis
>
> Mohana Ramaratnam wrote:
>
> > Hi Aneesha,
> >
> > We use a subset of the ij jar for our applet. All you have to do is
> > identify the required classes and create the smaller jar.
> >
> > Mohana
> >
> > Aneesha Bakharia wrote:
> >
> >> Hi
> >>
> >> I've been using the imagej jar for a few years in web
> >> applications(Java and
> >> Coldfusion) to perform routine image processing tasks such as thumbnail
> >> creation, cropping, etc.
> >>
> >> My recent attention has turned to creating a very simple minamilist
> >> applet
> >> that can perform some basic image processing tasks. I have been using
> >> imagej
> >> for this but the 1.3Mb jar is too large for my use. The only features
> >> that I
> >> need are lighten, darken, flip, invert, crop, rotate, smooth and
> >> sharpen. I
> >> need some advice on home easy it would be to create a subset of
> >> imagej for
> >> use in applets.
> >>
> >> Many thanks.
> >>
> >> --
> >> Aneesha
> >
>



--
Aneesha