Closed txoof closed 8 months ago
Class ImageBlock()
if max(im.size) > min(self.padded_area): logging.debug(f'resizing image to fit area: {self.padded_area}') # max_size = min(self.padded_area) # resize = [max_size, max_size] im.thumbnail(self.padded_area, Image.BICUBIC) logging.debug(f'new image size: {im.size}')
Unclear what the issue is, but this does not appear to be working as expected and images are sometimes resized to a much smaller size..
This is actually due to a problem related to image types that have transparent/alpha channel.
Class ImageBlock()
Unclear what the issue is, but this does not appear to be working as expected and images are sometimes resized to a much smaller size..