Region

The region portion of the URL allows you to extract a portion of an image. The format is /x,y,width,height/ with the origin of the image being the top left. See this simplified version below:

region example

This region would be noted as /125,15,120,140/ which is:

  • x = 125 pixels from the left
  • y = 15 pixels from the top
  • width = 120 pixels
  • heigh = 140 pixels

The pixel dimensions are relative to the full width and height of the image. This generally makes the regions fiddly to work out by hand and there are many cropping tools available which will give you a region, for example:

As well as specifying the exact pixel dimensions there are a couple of short cuts:

  • full the full image.
  • square a region where the width and height are equal. The region is positioned by the server. This can be useful for square thumbnails.

Use the region drop down to select different regions of the image:

Last modified by Simeon Warner 2023-11-08 06:25:01
Created by Simeon Warner 2023-11-08 06:25:01

results matching ""

    No results matching ""