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 #4134 (closed)

Opened 9 years ago

Closed 9 years ago

TIFF writer does not support saving tiles whose width is smaller than the full image width

Reported by: mlinkert Owned by: jburel
Priority: critical Milestone: OMERO-Beta4.3
Component: Bio-Formats Version: n.a.
Keywords: n.a. Cc: mlinkert, cxallan, jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-03-24 (8)

Description (last modified by jburel)

See TiffSaver?.java:188.

  • Works done in branch tiff-saver
  • Attached a tiff. One plane from DV file size 512x512. Generated 4 256x256 Tiles compressed using JPEG2000 lossless, viewed in ImageJ

TODO:

  • test with other images
  • write tests

Attachments (3)

result.tiff (188.2 KB) - added by jburel 9 years ago.
File with set endianness
resultWithBinDataBigEndianFalse.tiff (1.8 KB) - added by jburel 9 years ago.
resultWithBinDataBigEndianTrue.tiff (147.9 KB) - added by jburel 9 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 9 years ago by jmoore

imported from bio-formats:#505

comment:2 Changed 9 years ago by jburel

  • Cc mlinkert-x added
  • Milestone changed from OME-5.0 to OMERO-Beta4.3
  • Owner changed from mlinkert-x to jburel
  • Sprint set to 2011-03-24 (8)

comment:3 Changed 9 years ago by jburel

  • Remaining Time set to 0.4
  • Status changed from new to accepted

comment:4 Changed 9 years ago by jburel

  • Cc cxallan added

comment:5 Changed 9 years ago by jburel

  • Description modified (diff)

Changed 9 years ago by jburel

File with set endianness

comment:6 Changed 9 years ago by jburel

  • Sprint 2011-03-24 (8) deleted

Referencing ticket #4432 has changed sprint.

comment:7 Changed 9 years ago by jburel

  • Sprint set to 2011-03-24 (8)

comment:8 Changed 9 years ago by jburel

  • Description modified (diff)

Changed 9 years ago by jburel

Changed 9 years ago by jburel

comment:9 Changed 9 years ago by jburel

  • Cc jmoore added
  • Remaining Time changed from 0.4 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

After an intense session this afternoon, we managed to re-use the same ifd and write the compressed (JPEG2000) blocks in correct location.
Write, read cycle
Closing for this phase

comment:10 Changed 9 years ago by Chris Allan <callan@…>

(In [7a30786c62c4452f2dab0be27774e8a0f1b42b39/bioformats.git]) Closes #4660, #4706, #4727. See #4134, #4705, #4714.

  • ts-merge: Merge fixes and TiffWriterTest? Ant target. Test writing of tiles, fix remaining bugs in TiffSaver. Add control to add the series to the list only once. Fixed tile based writing. Add method to support IFD. Implement method to set the codec options. Add ability to specify codec options to writer and add tests. Review codec. Support writing of tiles with width less that the image's width.

comment:11 Changed 9 years ago by Chris Allan <callan@…>

(In [7a30786c62c4452f2dab0be27774e8a0f1b42b39/bioformats.git]) Closes #4660, #4706, #4727. See #4134, #4705, #4714.

  • ts-merge: Merge fixes and TiffWriterTest? Ant target. Test writing of tiles, fix remaining bugs in TiffSaver. Add control to add the series to the list only once. Fixed tile based writing. Add method to support IFD. Implement method to set the codec options. Add ability to specify codec options to writer and add tests. Review codec. Support writing of tiles with width less that the image's width.
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.76563 sec.)

We're Hiring!