Skip to content

Commit 141fddf

Browse files
committed
Convert image to 8-bit
1 parent 574b89b commit 141fddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/workflows/spa/atlas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ def atlas_jpg_from_mrc(instrument_name: str, visit_name: str, atlas_mrc: Path):
3232
atlas_jpg_file.parent.mkdir(parents=True, exist_ok=True)
3333

3434
im = PIL.Image.fromarray(data)
35-
im.save(atlas_jpg_file)
35+
im.convert(mode="L").save(atlas_jpg_file)

0 commit comments

Comments
 (0)