Discussion question: why does createJS set the picture size not directly support setting the width of the image drawn on the target canvas

when createJS sets the size of bitmap images, you can only zoom through setTransform (.. scaleX, scaleY).
in comparison, the dWidth, dHeight of canvas native ctx.drawImage (image, dx, dy, dWidth, dHeight) is more convenient for developers, without knowing the file size of the original image and calculating the zoom ratio. Does
have any advantages?
novice problem, searched all over API document but didn"t find the same way as drawImage.

Mar.21,2021
Menu