User Tools

Site Tools


working_with_annotations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
working_with_annotations [2022/03/08 15:58]
antreas [Creating and saving]
working_with_annotations [2022/03/08 16:03]
antreas [Exporting and format conversion]
Line 27: Line 27:
 PMA.core can leverage the use of 3rd party annotations via the External Files interface and the associated API calls. ​ PMA.core can leverage the use of 3rd party annotations via the External Files interface and the associated API calls. ​
 These API associates a number of files containing any known 3rd party annotations with a slide (see previous paragraph). To associate external files with a slide you have to use the API call [[https://​docs.pathomation.com/​pma.core.api/#/​Api/​Slide_SetExternalAnnotationFiles|SetExternalAnnotationFiles]]. This takes an array of tuples containing the //Name// and //Path// for each associated 3rd party annotations file. For //Name// you can use any text to differentiate from other annotations an the //Path// needs to be a //virtual path// to the file containing the annotations. ​ These API associates a number of files containing any known 3rd party annotations with a slide (see previous paragraph). To associate external files with a slide you have to use the API call [[https://​docs.pathomation.com/​pma.core.api/#/​Api/​Slide_SetExternalAnnotationFiles|SetExternalAnnotationFiles]]. This takes an array of tuples containing the //Name// and //Path// for each associated 3rd party annotations file. For //Name// you can use any text to differentiate from other annotations an the //Path// needs to be a //virtual path// to the file containing the annotations. ​
-You can get the previously set external annotations files for a slide via the [[https://​docs.pathomation.com/​pma.core.api/#/​Api/​Slide_GetExternalAnnotationFiles|GetExternalAnnotationFiles]] API call, which returns the array of //Name/Path////Italic Text// tuples for each file associated with any slide+You can get the previously set external annotations files for a slide via the [[https://​docs.pathomation.com/​pma.core.api/#/​Api/​Slide_GetExternalAnnotationFiles|GetExternalAnnotationFiles]] API call, which returns the array of //​Name/​Path//​ tuples for each file associated with any slide
  
 ==== Exporting and format conversion ==== ==== Exporting and format conversion ====
  
-PMA.core provides a very powerful API to export and convert all known annotations formats to each other, either it is a PMA.core annotations,​ 3rd party annotation or native annotations. The API call [[https://​docs.pathomation.com/​pma.core.api/#/​Api/​PMA.Services.Api.HistoScope.ExportAnnotations|ExportAnnotations]] can convert any known source of annotations +PMA.core provides a very powerful API to export and convert all known annotations formats to each other, either it is a PMA.core annotations,​ 3rd party annotation or native annotations. The API call [[https://​docs.pathomation.com/​pma.core.api/#/​Api/​PMA.Services.Api.HistoScope.ExportAnnotations|ExportAnnotations]] can convert any known source of annotations  
-//PMA.core annotations,​ Native annotations , Visiopharm , IndicaLabs ​, Aperio//to each of the 3rd party formatsVisiopharm  ​IndicaLabs ​Aperio, but also two more usefull ​formats for use outside of PMA.core i.e. the CSV and WKT(Well-Known text) formats. PMA.core will try to convert each format as flawlessly as possible but some shapes ​in each format ​are compatible to each other. If the source and destination formats are the same PMA.core will not perform any conversion ​and will output the original file.+(//PMA.core annotations,​ Native annotations , Visiopharm , Indica Labs , Aperio//to each of the 3rd party formats(Visiopharm  ​Indica Labs Aperio). This call also supports ​two more very useful ​formats for use outside of PMA.core i.e. the CSV and WKT(Well-Known text) formats. PMA.core will try to convert each format as flawlessly as possible but some shapes are not compatible to shapes in other formats. If the source and destination formats are the same PMA.core will not perform any conversion, it will output the original file.
  
  
  
  
working_with_annotations.txt · Last modified: 2022/03/25 18:47 by yves