Skip to content

Commit

Permalink
Bugfix for thumbnail generation with SlideIO
Browse files Browse the repository at this point in the history
  • Loading branch information
maubreville committed Jan 15, 2025
1 parent bcbe6ab commit 55ee6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exact/util/slideio.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def frame_type(self):


def get_thumbnail(self, size):
return self.scene.read_block(rect=self.scene.rect, size=size)
return Image.fromarray(self.scene.read_block(rect=self.scene.rect, size=size))


def read_region(self, location: tuple, level:int, size:tuple, frame:int=0):
Expand Down

0 comments on commit 55ee6b6

Please sign in to comment.