Large images don't decode properly and provide a image width/height. If this occurs for a regular image I think it should ask the user to kick off a convert to large image task.
Modified the code so that if it can't decode the image it will suggest conversion to a large image
Inside the large image conversion we need to check and see if the items has already been converted before we convert it to a large image
When you open a dataset that isn't loading/decoding properly it will prompt the user to swap it to a 'large-image' dataset.
This conversion job will launch and on completion it will ask to reload the annotations and will display the materials.
Note:
You may need to build the whole image and use (localhost:8010) so the notification system is properly connected for the indicator to ask to reload after conversion.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
resolves #1547
Large images don't decode properly and provide a image width/height. If this occurs for a regular image I think it should ask the user to kick off a convert to large image task.
Sample Data:
LargeSampleImages.zip
Note:
You may need to build the whole image and use (localhost:8010) so the notification system is properly connected for the indicator to ask to reload after conversion.