In this scenario, the MAP sample
portlet is used to crop an image by specifying the upper-left corner
and bottom-right corner of the area that is to be preserved.
An
image is cropped by specifying the upper-left corner and bottom-right
corner of the area that is to be preserved.
- Upper-left corner: v.top.y, v.left.x
- Bottom-right corner: v.bottom.y, v.right.x
Values are specified under the following rule: 0<=v.top.y<=v.bottom.y<=1
and 0<=v.left.x<=v.right.x<=1
Generated output from scenario using the provided
scenario and information
Generated image parameter output:
/map/map/wps/PA_MAPSample/images/testimg-vga-06.jpg?v.imgHost=hostname.example.com&v.imgPort=examplePort&v.top.y=v.top.y&v.left.x=v.left.x&v.bottom.y=v.bottom.y&v.right.x=v.right.x