Plugin checkbox

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

Plugin checkbox

Robert Lockwood
I'm modifying a plugin that imports all ".raw" files in a folder and saves
them as TIF.  I understand what's going on but I need to set the
Little-endian byte order box to 'checked' and I don't know how to do that
and Google hasn't helped me.

The line in question.
                run("Raw...", "open=["+input+list[i]+"] image=[16-bit
Unsigned] width=640 height=480 offset=0 number=1 gap=0");

TIA

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Plugin checkbox

Herbie
Good day,

from the provided code line I conclude that you rather deal with an
ImageJ-macro, not an ImageJ-plugin.

If so, the line should look like:

run("Raw...", "open=["+input+list[i]+"] image=[16-bit Unsigned]
width=640 height=480 little-endian");

Most often you can find out yourself by using the ImageJ macro recorder.

HTH

Herbie

:::::::::::::::::::::::::::::::::::::::::::::
Am 21.02.19 um 00:07 schrieb Robert Lockwood:

> I'm modifying a plugin that imports all ".raw" files in a folder and saves
> them as TIF.  I understand what's going on but I need to set the
> Little-endian byte order box to 'checked' and I don't know how to do that
> and Google hasn't helped me.
>
> The line in question.
>                  run("Raw...", "open=["+input+list[i]+"] image=[16-bit
> Unsigned] width=640 height=480 offset=0 number=1 gap=0");
>
> TIA
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Plugin checkbox

Robert Lockwood
In reply to this post by Robert Lockwood
Thanks, that occurred to me but only while I was driving home!

On Wed, Feb 20, 2019 at 3:07 PM Robert Lockwood <[hidden email]>
wrote:

> I'm modifying a plugin that imports all ".raw" files in a folder and saves
> them as TIF.  I understand what's going on but I need to set the
> Little-endian byte order box to 'checked' and I don't know how to do that
> and Google hasn't helped me.
>
> The line in question.
>                 run("Raw...", "open=["+input+list[i]+"] image=[16-bit
> Unsigned] width=640 height=480 offset=0 number=1 gap=0");
>
> TIA
>
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Plugin checkbox

Herbie
I wonder how it feels when you are little-endian driving...

Regards

Herbie

:::::::::::::::::::::::::::::::::::::::::::::
Am 21.02.19 um 15:13 schrieb Robert Lockwood:

> Thanks, that occurred to me but only while I was driving home!
>
> On Wed, Feb 20, 2019 at 3:07 PM Robert Lockwood <[hidden email]>
> wrote:
>
>> I'm modifying a plugin that imports all ".raw" files in a folder and saves
>> them as TIF.  I understand what's going on but I need to set the
>> Little-endian byte order box to 'checked' and I don't know how to do that
>> and Google hasn't helped me.
>>
>> The line in question.
>>                  run("Raw...", "open=["+input+list[i]+"] image=[16-bit
>> Unsigned] width=640 height=480 offset=0 number=1 gap=0");
>>
>> TIA

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html