maxWidth / maxHeight
An integer in pixels for the maximum width allowed for uploaded images, selected images with a greater width than this value will be scaled down.
For images smaller than maxWidth/maxHeight, it means scaling up reducing the quality. Example:
:maxHeight="100"
results in scaling up
ImageUploader: original image size = 98 X 28
ImageUploader: scaled image size = 350 X 100
Expected behavior:
do not scale the image if image size is smaller than maxWidth/maxHeight
From the docs:
maxWidth / maxHeight An integer in pixels for the maximum width allowed for uploaded images, selected images with a greater width than this value will be scaled down.
For images smaller than maxWidth/maxHeight, it means scaling up reducing the quality. Example:
:maxHeight="100"
results in scaling up
Expected behavior: do not scale the image if image size is smaller than maxWidth/maxHeight