NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #873 (closed defect: fixed)

Opened 2011-11-17T09:15:22-06:00

Last modified 2011-11-17T11:17:26-06:00

Improve overlay options color support

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
Component: Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

The IJ1 Overlay Options dialog allows user to specify line color and fill color as arbitrary ARGB hex strings. IJ2's version in Edit::Options::Overlay has limited color support and no transparency. This is because of the limitations of the sezpoz tracked color field. Could just make color a String field but then person can enter anything in there.

Two possible approaches here:

  • make the dialog allow colors to be specified as hex strings too. make the field a text field and maybe have a callback that validates input. field should accept "brown" as well as "#ff002288".

OR

  • make ColorRGB values supported by input harvesters. The GUI version could show a color wheel and transparency field.

Change History

comment:1 Changed 2011-11-17T11:17:26-06:00 by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

ColorRGB's are supported with GUI widgets already. New UI in place with commit 9753f3caab6db85e3966163698aa325ede98a75a