You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RenderParameter has three methods to adapt to image size:
withImageSize: changes the sampling rate of the image, affects the resolution of the rendering -- works as intended
forImageSize: crops or enlarges view without changing the face's size. Does distort the face when the original aspect ratio is not square
fitToImageSize: should adapt the size of the image by scaling and padding to match the new size best without distorting the face. Distorts the face if the original aspect ratio is not square
The methods do not always work if the original image size is not square
The text was updated successfully, but these errors were encountered:
RenderParameter has three methods to adapt to image size:
withImageSize
: changes the sampling rate of the image, affects the resolution of the rendering -- works as intendedforImageSize
: crops or enlarges view without changing the face's size. Does distort the face when the original aspect ratio is not squarefitToImageSize
: should adapt the size of the image by scaling and padding to match the new size best without distorting the face. Distorts the face if the original aspect ratio is not squareThe methods do not always work if the original image size is not square
The text was updated successfully, but these errors were encountered: