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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3badf-4083d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3badf-4083d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?