OASIS Static Analysis Results Interchange Format (SARIF) TC

  • 1.  RE: [sarif] Image files: wait just a minute here!

    Posted 05-04-2018 18:39
    Also, the reason we got hung up on non-raster images was in coming up with an acceptable set of units.


  • 2.  Re: [sarif] Image files: wait just a minute here!

    Posted 05-04-2018 19:26
    The unit for an svg are svg units and are mapped to physical units by the renderer. Units for pdfs are 1/72". Both can be specified as just numbers if we specify the units are the natural unit for the format. One additional wrinkle is that pdf uses a natural Cartesian coordinate system where increasing Y is upwards, whereas svg and raster formats increasing Y is downwards. If you said that units are the natural units and did not specify which of the points is the (top, left), which is unnecessary, then specification works with rasters, svg and pdf formats. Jim On 05/04/2018 01:37 PM, Larry Golding (Comcast) wrote: Also, the reason we got hung up on non-raster images was in coming up with an acceptable set of units.


  • 3.  RE: [sarif] Image files: wait just a minute here!

    Posted 05-04-2018 20:18
    And so we've come back to the outcome that was decided upon in the TC, correct? i.e., make the following changes and ship the thing. We need to add a note that the consumer needs to be aware of the target coordinate system in addition to the image unit when evaluating this content. Jim: make values float and change pixels to units appropriate for format