Re: a tutorial on a custom image format file reader / writer
Posted by Gabriel Landini on Apr 22, 2008; 10:43am
URL: http://imagej.273.s1.nabble.com/a-tutorial-on-a-custom-image-format-file-reader-writer-tp3696492p3696499.html
On Tuesday 22 April 2008 10:38:32 Michael Doube wrote:
> I have drag and drop under Ubuntu Hardy (GNOME), but it wasn't always
> working. Perhaps it has to do with the variables you pass to 'run' -
> mine are:
> /usr/lib/jvm/java-6-sun/bin/java -Dplugins.dir=~/ImageJ -Xmx3g -cp
> ~/ImageJ/ij.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar ij.ImageJ -ijpath
> ~/ImageJ
Hi
This is my script:
cd ~/ImageJ
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java -Xmx2600m -cp
ij.jar:jimi.jar:/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar ij.ImageJ $*
(mind the line breaks) but the run command is not used for the drag and drop,
I think... (or is it?, I thought Albert had added the linux drag and drop
feature)
I use $* to be able to pass any image with the run command (although I confess
that I never use it!). Something like:
./run150 lena.tif
Cheers
Gabriel