1
0
Fork 0

Resize satid PNG image to same as upstream

giza-pure
Jeff Moe 2022-08-11 15:30:32 -06:00
parent 594aa50c2d
commit 931ac07f19
1 changed files with 4 additions and 4 deletions

View File

@ -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);