Ticket #406 (closed task: fixed)

Opened 8 years ago

Last modified 7 years ago

Make a new About dialog

Reported by: bdezonia Owned by: bdezonia
Priority: critical Milestone: imagej2-b4-plugins
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1171, #1172

Description

Create an IJ2 specific about dialog. Display some image (from LOCI's public domain collection). Show the same kinds of information that IJ1 does. Update to refer to Imagejdev.org, etc. Limit size of dialog to no bigger than 800x600. Eventually we want to be able to display a list of technologies we are using (such as SezPoz, etc.)

Change History

comment:1 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0-alpha1 to imagej-2.0-alpha2

comment:2 Changed 8 years ago by bdezonia

  • Priority changed from major to critical

comment:3 Changed 8 years ago by gharris

About box has a Cancel button.
Perhaps we need a type of @Plugin attribute that makes a plugin just an informative message.

comment:4 Changed 8 years ago by curtis

We can add an "allowCancel" boolean to @Plugin that defaults to true.

comment:5 Changed 8 years ago by bdezonia

  • Owner changed from bdezonia to afraser
  • Status changed from new to assigned

Adam: do you have time and interest to tackle this one? If not assign back.

comment:6 Changed 8 years ago by curtis

  • Owner changed from afraser to bdezonia

comment:7 Changed 8 years ago by bdezonia

AT one point there were discussions that there should be a number of background images that are located in a directory. The about dialog would choose one background randomly and draw it's text over the top.

comment:8 Changed 8 years ago by bdezonia

Also Adam had created a microscope image to be used on top of the background images. Get a hold of it.

comment:9 Changed 8 years ago by curtis

  • Blocking 1019 added

comment:10 Changed 8 years ago by bdezonia

By 9ae266d100443940c9f3c58d8c5b25eba2b3a00b there is the beginning of a new About ImageJ2 plugin in place.

Some things not done:

  • move AWTTextRender code from DrawingTool to its own service or UI related method.
  • perhaps move DrawingTool out of ij-data
  • update text drawing so that its more than one channel. Right now its black in a single channel. Yellow across all planes would be nice. This is related to DrawingTool::setColor() not really working because of the split between color and gray values.
  • add memory stats to textual information
  • add other credits to textual info?
  • use Adam's microscope image
  • put a bunch of images in the resources/images directory. At runtime randomly pick one when about plugin launched.
  • solicit images from community for about dialog

comment:11 Changed 8 years ago by bdezonia

In da6ff50bdadbd4527b85766e8b797d34ee21f301 improved the appearance. Made a 3 channel 8 bit tif image to use as backdrop. Fixed the DrawingTool class to draw text in shades of the current color. This rectifies aliasing problems. As written the AboutImageJ plugin expects images to always be 3 channel 8 bit.

Last edited 8 years ago by bdezonia (previous) (diff)

comment:12 Changed 8 years ago by bdezonia

In ee87228ea96887b826956bc5b9c9c25051cb6899 also now reporting java and memory information

comment:13 Changed 8 years ago by bdezonia

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

Pushing further improvements to a later milestone.

comment:14 Changed 8 years ago by bdezonia

For future reference:

Specifications for good candidate backdrop images:

  • 400 x, 400 y, 3 channel, 8 bit, no z, no t
  • that the image data only uses the lower 2/3 of the image window (so the text contrast will be good)
  • that the color of the image is such that it contrasts with the text color (yellow) well

comment:15 Changed 8 years ago by bdezonia

Recent changes to related to this ticket:

  • Text now draws on all channels of an image. User can specify the channel fill values a DrawingTool should use.
  • Memory and Java stats added to about image display
  • A nicer backdrop image was taken from the Cell Image Library website
  • Any resource image (i.e. "imagefile.ext") can have an associated metadata file (imagefile.ext.txt"). This metadata file can specify an attribution string (i.e. "This image courtesy of Buffy Summers"), a text color to draw, and a preferred font size.

TODO

  • move AWTTextRenderer code out of DrawingTool and into its own UI specific place. There is a ticket for this: #1036
  • perhaps move DrawingTool out of ij-data
  • somehow use Adam's microscope image
  • add a bunch of images to resources directory and have IJ2 randomly pick one each invocation
  • solicit images from community
  • add a button to display window somewhere that when clicked would launch a text window with detailed credits and license info
Last edited 8 years ago by bdezonia (previous) (diff)

comment:16 Changed 7 years ago by bdezonia

Recently built in code to load an image randomly from a group of images (in the form about1.tif, about2.tif, etc.) in an images resource directory.

comment:17 Changed 7 years ago by bdezonia

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:18 Changed 7 years ago by bdezonia

  • Blocking 1172 added; 1019 removed

comment:19 Changed 7 years ago by bdezonia

  • Blocked By 1042 added

comment:20 Changed 7 years ago by bdezonia

  • Blocking 1171 added

comment:21 Changed 7 years ago by bdezonia

  • Blocked By 1042 removed

comment:22 Changed 7 years ago by bdezonia

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.