Skip to content

Commit

Permalink
Set JPEG image quality to 95
Browse files Browse the repository at this point in the history
  • Loading branch information
mkelley committed Dec 19, 2024
1 parent a4349c4 commit c1e2327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbn_survey_image_service/services/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def create_browse_image(
data: np.ndarray = fits.getdata(fits_image_path)
data = interval(data, clip=True) * 255
image: PIL_Image = PIL_Image.fromarray(data.astype(np.uint8)[::-1])
image.save(output_image_path, format=format.format)
image.save(output_image_path, format=format.format, quality=95)


def image_query(
Expand Down

0 comments on commit c1e2327

Please sign in to comment.