| GetCroppedPrintable(Int64, Guid, Decimal, Decimal, PrintSizeUnit, Decimal, Decimal, Decimal) |
Gets an image cropped to match submitted max width or max height, centered around the submitted coordinates, and converted to 300 dpi.
If the image is smaller than the requested dimensions, the original image is returned.
If the returned image can be adjusted if the offsets is too close to the edges, so that the cropped image would have been out of bounds.
If the API is called without the official Anysense API library, the caller should take notice of the following headers:
- CROP-FULLWIDTH: The width of the scaled image before cropping
- CROP-FULLHEIGHT: The height of the scaled image before cropping
- CROP-OFFSET-X: The number of pixels from the left side, from where the image is cropped
- CROP-OFFSET-Y: The number of pixels from the top, from where the image is cropped
|
| GetCroppedPrintable(Int64, Guid, Decimal, Decimal, PrintSizeUnit, Decimal, Decimal, Decimal, Stream) |
Gets an image cropped to match submitted max width or max height, centered around the submitted coordinates, and converted to 300 dpi.
If the image is smaller than the requested dimensions, the original image is returned.
If the returned image can be adjusted if the offsets is too close to the edges, so that the cropped image would have been out of bounds.
If the API is called without the official Anysense API library, the caller should take notice of the following headers:
- CROP-FULLWIDTH: The width of the scaled image before cropping
- CROP-FULLHEIGHT: The height of the scaled image before cropping
- CROP-OFFSET-X: The number of pixels from the left side, from where the image is cropped
- CROP-OFFSET-Y: The number of pixels from the top, from where the image is cropped
|