> I've been fiddling with this myself. Can't do it just in the jnlp, from
> my asking around.
>
> My solution is currently to have an autorun startup macro in the ij.jar
> called by my jnlp file. The autorun macro simply runs another macro from
> a file at a url. The second macro contains a line that opens a movie
> file. This might work for your images too. I have a Perl script that
> actually rewrites the second server-side macro file to point to an
> arbitrary selection from a movie collection, based on a user mouse click
> in a web page.
>
> Try clicking a "...Mov" link @
http://glowormnotes.blogspot.com to see
> an example at work.
>
> I can send you code bits as well.
>
> Bill
>
>
>
>
> arnim.jenett wrote:
>
> > Hi,
> > is there a way to pass the path of an image to imagej when it is
> called by
> > Java Web Start?
> >
> > Situation: I created a catalog of images using html. these images I
> > currently can open in ImageJA (applet), but 1) after a couple of
> images I
> > reliably run into a an "out-of-memory" exception and 2) on a weak
> network it
> > is rather slow to download Imagej every time I call it (often).
> > Therefore I thought about using Java Web Start instead and found the
> > corresponding jnpls ( thanks dscho, curtis and wayne). But there is
> no way
> > documented how I could pass image information via the jnpl to ImageJ.
> >
> > for clarification; from a shell I would do this like this:
> > #!/bin/sh
> > java -jar /full/path/to/ImageJ/ij.jar -ijpath /full/path/to/ImageJ
> > /full/path/to/my/image
> >
> > reading up on this I hoped it would be as easy as passing the image
> to the
> > call of ij.jar, so in the ImageJ.jnpl I changed
> >
> > <jar href="
http://rsb.info.nih.gov/ij/signed-applet/ij.jar"/>
> >
> > into
> >
> > <jar
> >
> href="
http://rsb.info.nih.gov/ij/signed-applet/ij.jar?arg=/tests/Photo1.jpg"/>
>
> >
> > but that does not work.
> > I also tried to pass it as "<argument>" from inside the
> "<application-desc>"
> > but that failed as well.
> >
> > even nicer would be, if I could call the jnpl with the image's
> parameters
> > (in hmtl).
> > Does something like this exist?
> > Thanks,
> > aRnim
> >
>
>
> ------------------------------------------------------------------------
> View message @
>
http://n2.nabble.com/passing-image-to-ImageJ-via-Java-Web-Start-tp4490759p4492093.html
>
> To unsubscribe from passing image to ImageJ via Java Web Start, click
> here
> <
http://n2.nabble.com/subscriptions/Unsubscribe.jtp?code=amVuZXR0YUBqYW5lbGlhLmhobWkub3JnfDQ0OTA3NTl8LTIzNTM0MjcyMw==>.
>
>