Changes between Version 11 and Version 12 of adeiDG
- Timestamp:
- 07/18/08 15:19:36 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
adeiDG
v11 v12 79 79 * To generate an 1280x1024 image with composite graph of all channels from first loggroup for a period starting at May 19, 2008 and finishing at May 20, 2008 80 80 {{{ 81 http:// localhost/zweb/services/getimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=102481 http://adei_server.net/adei/services/getimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=1024 82 82 }}} 83 83 * Few additional properties could be used to hint drawer about produced image properties. In the next example, the MINMAX approach is used to aggregate data, the positions of actually drawn points are highlighted and high precision mode is used (could take a lot of time). 84 84 {{{ 85 http:// localhost/zweb/services/getimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=1024&aggregation=MINMAX&show_gaps=POINTS&precision=HIGH85 http://adei_server.net/adei/services/getimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=1024&aggregation=MINMAX&show_gaps=POINTS&precision=HIGH 86 86 }}} 87 87 * If information on generated image is required, then two step approach could be used. The ''genimage'' request is used to generate an image. 88 88 {{{ 89 http:// localhost/adei/services/genimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=102489 http://adei_server.net/adei/services/genimage.php?db_server=toskanadb&db_name=prespektrometer_rep&db_group=0&experiment=0&window=1211159859-1211241600&frame_width=1280&frame_height=1024 90 90 }}} 91 91 In a response you will get JSON encoded document with various image properties. If an error was occurred, the JSON document will contain only ''error'' property, which describes the problem. Otherwise, among other properties the 'image' property containing image identificator will be returned. Then it is possible pass this idetificator to ''getimage'' service in order to obtain image.