Ticket #1947 (closed enhancement: moved)

Opened 6 years ago

Last modified 5 years ago

Should RGB images set the legacy "RGB color" flag?

Reported by: curtis Owned by: curtis
Priority: minor Milestone: imagej2-b8-analysis
Component: I/O Version: 2.0.0-beta-7
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1914

Description

When opening an RGB image such as a 24-bit PNG via the File > Open method, ImageJ2 does not report the data type as "RGB Color". In IJ2, there is no difference between this and 3-channel unsigned 8-bit integer, but for IJ1 legacy plugins it matters.

Should we set the RGB flag in such cases?

Change History

comment:1 Changed 6 years ago by bdezonia

  • Blocking 1914 added

comment:3 Changed 5 years ago by curtis

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

comment:4 Changed 5 years ago by curtis

Hopefully it will be sufficient to support saving 3-channel unsigned 8-bit integer datasets as RGB (maybe as an option). As for legacy plugins, the File > Open command using SCIFIO will probably always open as a composite image; users can manually change it back to RGB Color mode if they need that.

Version 0, edited 5 years ago by curtis (next)
Note: See TracTickets for help on using tickets.