Skip to content

Commit

Permalink
feat: add rgba property to image object (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Jul 27, 2022
1 parent 60f8e84 commit 798ce3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/dicomImageLoader/src/imageLoader/createImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ function createImage(imageId, pixelData, transferSyntax, options = {}) {
decodeTimeInMS: imageFrame.decodeTimeInMS,
floatPixelData: undefined,
imageFrame,
rgba: isColorImage && useRGBA,
};

// If pixel data is intrinsically floating 32 array, we convert it to int for
Expand Down

0 comments on commit 798ce3f

Please sign in to comment.