IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2007, 10:10:41 AM (19 years ago)
Author:
eugene
Message:

image/graph metadata stored/retrieved from kapa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kapa-mods-2007-05/Ohana/src/opihi/cmd.data/jpeg.c

    r13391 r13434  
    2222    IsPNG = TRUE;
    2323  }
     24  if (!strcmp (argv[0], "png")) IsPNG = TRUE;
     25  if (!strcmp (argv[0], "ppm")) IsPPM = TRUE;
    2426
    2527  /* file name */
     
    3840    remove_argument (N, &argc, argv);
    3941  }
    40   /* need to figure out what this implies
     42
     43  /* XXX output png / jpeg needs to include both graph and image
     44     if available.  this is a poor mix of data representations
     45     (png for image / jpeg for plots)
    4146  if ((N = get_argument (argc, argv, "-g"))) {
    42     remove_argument (N, &argc, argv);
    43     SetImageDevice (FALSE);
    44   } 
    4547  if ((N = get_argument (argc, argv, "-i"))) {
    46     remove_argument (N, &argc, argv);
    47     SetImageDevice (TRUE);
    48   } 
    4948  */
    5049
    5150  if (!GetGraph (NULL, &kapa, name)) return (FALSE);
    5251  if (!IsPNG && !IsPPM) {
    53     if (!filename[0]) strcpy (filename, "kapa.png");
     52    if (!filename[0]) strcpy (filename, "kapa.jpg");
    5453    KiiJPEG (kapa, filename);
    5554  }
Note: See TracChangeset for help on using the changeset viewer.