diff --git a/fits2image/conversions.py b/fits2image/conversions.py index 6e859cb..df6c023 100644 --- a/fits2image/conversions.py +++ b/fits2image/conversions.py @@ -52,7 +52,7 @@ def fits_to_jpg(path_to_fits, path_to_jpg, width=200, height=200, progressive=Fa scaled_images = [stack_images(scaled_images)] for idx, im in enumerate(scaled_images): - im.thumbnail((width, height), Image.ANTIALIAS) + im.thumbnail((width, height), Image.LANCZOS) if label_text: try: _add_label(im, label_text, label_font) @@ -95,7 +95,7 @@ def fits_to_zoom_slice_jpg(path_to_fits, path_to_jpg, row=0, col=0, side=200, zl x = int(col * step) y = int(row * step) im = im.crop((x, y, x+step, y+step)) - im.thumbnail((width, height), Image.ANTIALIAS) + im.thumbnail((width, height), Image.LANCZOS) if label_text: try: _add_label(im, label_text, label_font) diff --git a/setup.py b/setup.py index bd522d6..3d682a0 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( name="fits2image", - version="0.4.6", + version="0.4.7", description=DESCRIPTION, long_description=DESCRIPTION, author='Jon Nation',