Skip to main content

Hi can anyone explain how to change the resolution for the view image through api.

 

Im using the below API query

 

GET /api/api-version/sites/site-id/views/view-id/image?resolution=image-resolution

 

and i want the resolution to be 150x150

 

i tried /image?resolution=150*150

 

but it didnt work.

 

Please help me out.

 

Thanks in Advance

1 answer
  1. Sep 5, 2019, 1:39 PM

    That's not the syntax of that call.  You can set it to 'high' or leave it alone.  You can't specify a particular resolution.

     

    Workbooks and Views Methods - Tableau

     

    image-resolution (Optional) The resolution of the image. By default, the width of the returned image is 784 pixels. If you set this parameter value to

    high
    , the width of the returned image is 1568 pixels. For both resolutions, the height varies to preserve the aspect ratio of the view.

0/9000