Resize satid PNG image to same as upstream
parent
594aa50c2d
commit
931ac07f19
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue