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 #406 (closed task: fixed)

Opened 2011-03-29T15:43:26-05:00

Last modified 2012-08-14T10:42:42-05:00

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 2011-04-01T15:33:46-05:00 by curtis

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

comment:2 Changed 2011-04-04T14:22:39-05:00 by bdezonia

  • Priority changed from major to critical

comment:3 Changed 2011-05-17T07:26:21-05:00 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 2011-05-17T09:13:55-05:00 by curtis

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

comment:5 Changed 2011-10-17T09:19:55-05:00 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 2011-12-05T10:19:56-06:00 by curtis

  • Owner changed from afraser to bdezonia

comment:7 Changed 2012-01-30T11:52:04-06:00 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 2012-01-30T11:53:11-06:00 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 2012-02-26T22:56:27-06:00 by curtis

  • Blocking 1019 added

comment:10 Changed 2012-02-29T13:54:43-06:00 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 2012-03-01T12:48:28-06:00 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 2012-03-01T12:49:34-06:00 by bdezonia

comment:12 Changed 2012-03-01T13:27:48-06:00 by bdezonia

In ee87228ea96887b826956bc5b9c9c25051cb6899 also now reporting java and memory information

comment:13 Changed 2012-03-01T13:40:06-06:00 by bdezonia

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

Pushing further improvements to a later milestone.

comment:14 Changed 2012-03-02T11:45:18-06:00 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 2012-03-09T13:24:31-06:00 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 2012-03-09T15:07:00-06:00 by bdezonia

comment:16 Changed 2012-03-28T14:53:22-05:00 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 2012-05-14T10:51:42-05:00 by bdezonia

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

comment:18 Changed 2012-05-14T11:58:27-05:00 by bdezonia

  • Blocking 1172 added; 1019 removed

comment:19 Changed 2012-05-14T15:32:22-05:00 by bdezonia

  • Blocked By 1042 added

comment:20 Changed 2012-07-23T10:57:50-05:00 by bdezonia

  • Blocking 1171 added

comment:21 Changed 2012-08-14T10:42:36-05:00 by bdezonia

  • Blocked By 1042 removed

comment:22 Changed 2012-08-14T10:42:42-05:00 by bdezonia

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