Skip to content

Commit

Permalink
Merge pull request #7 from melissalinkert/server-rgb-type
Browse files Browse the repository at this point in the history
Tell image server to consider 3 channel uint8 data as RGB
  • Loading branch information
sbesson authored Sep 18, 2024
2 parents d2cf2c3 + 83a66fa commit abe1e96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ else if (map.has("channels")) {
// .args(args)
.name(imageName)
.pixelType(pixelType)
.rgb(isRGB)
.rgb(isRGB || (sizeC == 3 && pixelType == PixelType.UINT8))
.magnification(magnification)
.levels(levelBuilder.build());

Expand Down

0 comments on commit abe1e96

Please sign in to comment.