a tutorial on a custom image format file reader / writer

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

Re: a tutorial on a custom image format file reader / writer

Michael Doube
Gabriel,

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

Mike

Gabriel Landini wrote:

> On Wednesday 16 April 2008 16:06:27 Wayne Rasband wrote:
>> What I would like to see is a "Bio-Formats" window that supports drag
>> and drop.
>
> Now that you mention... I sometimes lose the ability to drag and drop in the
> IJ window. I am afraid that I do not know what triggers this and that is why
> I haven't reported it so far.
> This has been going on for sometime now (i.e. it is not a new "feature").
> Has anybody else seen this? (IJ under linux).
>
> Regards
>
> Gabriel

--
Dr Michael Doube  BPhil BVSc PhD MRCVS
Research Associate
Department of Bioengineering
Imperial College London
South Kensington Campus
London  SW7 2AZ
United Kingdom
Reply | Threaded
Open this post in threaded view
|

Re: a tutorial on a custom image format file reader / writer

Gabriel Landini
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
12