DEV Community

627
627

Posted on

Anyone familiar with this scripted pdf transformation tool?

My guess is that its rotating two objects in preparation for print. If anyone is familiar with the program behind this please let me know! Thank you

{
  "Unit": "Millimeters",
  "Pages": [
    {
      "PageNumber": 1,
      "Width": 400,
      "Height": 100,
      "Instructions": [
        {
          "Type": "DrawPdfPlaceholder",
          "Name": "AmendmentA",
          "PageNumber": 1,
          "Position": {
            "X": 200,
            "Y": 50
          }
        },
        {
          "Type": "PushState"
        },
        {
          "Type": "RotateTransform",
          "CenterX": 90,
          "CenterY": 50,
          "Angle": 90
        },
        {
          "Type": "DrawPdfPlaceholder",
          "Name": "PrepressOutput",
          "PageNumber": 1,
          "Position": {
            "X": 90,
            "Y": 50
          }
        },
        {
          "Type": "PopState"
        },
        {
          "Type": "PushState"
        },
        {
          "Type": "RotateTransform",
          "CenterX": 310,
          "CenterY": 50,
          "Angle": 270
        },
        {
          "Type": "DrawPdfPlaceholder",
          "Name": "Prepress",
          "PageNumber": 2,
          "Position": {
            "X": 310,
            "Y": 50
          }
        },
        {
          "Type": "PopState"
        }
      ]
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)