Login  Register

Re: Hexadecimal Code and image tools

Posted by ctrueden on Mar 14, 2017; 6:26pm
URL: http://imagej.273.s1.nabble.com/Hexadecimal-Code-and-image-tools-tp5018295p5018298.html

Hi,

There is also a macro to help generate these code sequences, if you have a
16x16 input image:

https://imagej.net/macros/tools/Image_To_Tool_Icon.txt

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Tue, Mar 14, 2017 at 12:01 PM, Michael Schmid <[hidden email]>
wrote:

> Hi P,
>
> the description of the code for the tool icons is here:
>   https://imagej.nih.gov/ij/developer/macro/macros.html#icons
>
> Best make a sketch on squared paper with 20x20 fields and mark the
> positions in the margin (left to right and top to bottom). Use 'set base
> location' if you want to go beyond 15 in any direction.
>
> Michael
> ________________________________________________________________
> On 14/03/2017 17:40, P Roman wrote:
>
>> Hi all,
>>
>> I am just starting using imageJ and do some macros. However I have some
>> doubts about how to customize the ImageJ toolbar. I have read that in
>> order
>> to create a tool for a certain macro you have to know its hexadecimal
>> code,
>> like in this case:
>> /
>> macro "Adjust Brightness and Contrast Action Tool -
>> C037D04D05D06D07D08D09D0aD0bD0cD14D18D1cD24D28D2cD34D38D3cD4
>> 5D46D47D49D4aD4bD6bD6cD76D77D78D79D7aD84D85Da6Da7Da8Da9DaaDb
>> 5DbbDc4DccDd4DdcDe5DebDf6Dfa"
>> {
>>         run("Brightness/Contrast...");
>>    }/
>>
>> Nevertheless, I am not sure about how I can create a tool icon for other
>> types of functions in imageJ such as Make Binary or Watershed, or where
>> can
>> I find the hexadecimal code correspondent to a macro.
>>
>> Any advice about how can I create tool icons would be great
>>
>> Thanks in advace
>>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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