Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8807 (new)

Opened 12 years ago

Last modified 12 years ago

Incorrect or inconsistent specification of colour — at Initial Version

Reported by: rleigh Owned by:
Priority: critical Milestone: OMERO-4.4
Component: Specification Version: n.a.
Keywords: n.a. Cc: ajpatterson, jburel, cxallan, mlinkert
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

In the current specification:

<xsd:documentation>A color used render this channel - encoded as RGBA The default value "-2147483648" is #FFFFFFFF so solid white (it is a signed 32 bit value)</xsd:documentation>

Two problems with this:

1) "-2147483648" is #FFFFFFFF

This is from what I can tell, false. 0xFFFFFFFF is -1 and 0x80000000 is -2147483648.

2) For the default, -2147483648 would be 0x80000000 i.e. mid intensity transparent red, i.e. completely invisible. 0xFFFFFFFF would be opaque white, i.e. completely invisible.

(The above assumes A=0 is transparent, A=255 is opaque; is this the interpretation used in our spec?)

Regards,
Roger

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.72519 sec.)

We're Hiring!