From 931ac07f198c98dc332e9917261f2b558706740c Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Thu, 11 Aug 2022 15:30:32 -0600 Subject: [PATCH] Resize satid PNG image to same as upstream --- src/satid.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/satid.c b/src/satid.c index 6826030..9f117a7 100644 --- a/src/satid.c +++ b/src/satid.c @@ -311,12 +311,12 @@ main (int argc, char *argv[]) wy = img.naxis2 * sy / 3600.0; if (argc == 3) - cpgopen (argv[2]); - else - giza_open_device_size_float ("/xs", "satid", 1024, 768, 3); - giza_set_colour_palette (1); + giza_open_device_size_float ("/png", "satid", 680, 680, 3); + else + giza_open_device_size_float ("/xs", "satid", 680, 680, 3); cpgsvp (0.1, 0.95, 0.1, 0.8); + giza_set_colour_palette (1); cpgsch (0.8); sprintf (text, "UT Date: %.23s COSPAR ID: %04d", img.nfd + 1, img.cospar); cpgmtxt ("T", 6.0, 0.0, 0.0, text);